@extends('author.dashboard') @section('title', 'Create Question') @section('stylesheets') @endsection @section('content')

Dashboard OPALESCE Version 1.0

{!! Breadcrumbs::render('authaddmicroquestions', $microunit) !!}

Add Question to Microunit: {{$microunit->muid}}

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{!! Form::open(['route'=> ['authpanel.question.store', $microunit->id], 'method'=>'POST', 'class'=> 'form-horizontal']) !!}
{{ Form::label('language_id', 'Language *', [ 'class'=>'col-lg-1 control-label', 'for'=>'validate-language']) }}
{{ Form::label('question', 'Question *', ['class'=>'col-lg-1 control-label', 'for'=>'validate-title']) }}
{{ Form::text('question', null, array( 'class' => 'form-control', 'name'=> 'question', 'id' => 'validate-text', 'placeholder' => 'Question...', 'required'=> '', 'maxlength'=>'255')) }}

Add Answers to Question

{{ Form::label('answer', 'Answer *', ['class'=>'col-lg-2 control-label', 'for'=>'validate-desc']) }}
{{ Form::label('correct', 'Correct', ['class'=>'col-lg-6 control-label', 'for'=>'validate-language']) }}
{!! Form::close() !!}
@endsection @section('javascripts') @endsection