{!! Form::label('question', 'Question') !!}
{!! Form::text('question', null, ['class' => 'form-control', 'data-parsley-required' => 'true', 'data-parsley-trigger' => 'change', 'placeholder' => 'Question', 'required', 'maxlength' => '100']) !!}
{!! Form::label('question_type', 'Question Type') !!}
{!!Form::select('question_type',['single'=>'Single Choice','multiple'=>'Muliple Choice'],null, ['class'=>'form-group', 'class'=>'form-control','onchange'=>'select_question_type()'])!!}
{!! Form::label('Correct Choice', 'Correct Choice') !!}

Notice: Undefined variable: quiz in /home/developmenthatin/public_html/hrs_backend/resources/views/admin/question/partial/form.blade.php on line 38

Notice: Trying to get property of non-object in /home/developmenthatin/public_html/hrs_backend/resources/views/admin/question/partial/form.blade.php on line 38
@if ($quiz->choice) @foreach ($quiz->choice as $key => $ch)
Notice: Undefined variable: ch in /home/developmenthatin/public_html/hrs_backend/resources/views/admin/question/partial/form.blade.php on line 48

Notice: Trying to get property of non-object in /home/developmenthatin/public_html/hrs_backend/resources/views/admin/question/partial/form.blade.php on line 48
@endforeach @endif
@if ($quiz->choice) @foreach ($quiz->choice as $key => $ch) Choice # {{ $key + 1 }} @endforeach @endif
{!! Form::submit('Save', ['class' => 'btn btn-primary btn-block btn-lg btn-parsley', 'onclick' => 'return validateForm();']) !!}
@section('app_jquery') @endsection