{!! Form::label('content_id', 'Content Id:') !!}
{!! Form::select('content_id', $contents, null, ['class' => 'form-control']) !!}
{!! Form::label('question_name', 'Question Name:') !!}
{!! Form::text('question_name', null, ['class' => 'form-control']) !!}
{{--
{!! Form::label('hint', 'Hint:') !!}
{!! Form::textarea('hint', null, ['class' => 'form-control']) !!}
--}}
{!! Form::label('image', 'Image:') !!}
{!! Form::file('image') !!}
{!! Form::label('score', 'Score:') !!}
{!! Form::number('score', null, ['class' => 'form-control']) !!}
{!! Form::label('is_essay', 'Code:') !!}
{!! Form::checkbox('is_essay', '1') !!}
{{--
{!! Form::label('timer', 'Timer: (minutes)') !!}
{!! Form::number('timer', null, ['class' => 'form-control']) !!}
Answers
@for ($i = 0; $i < 4; $i++)
is_right == 'true' ? 'checked' : '' }}> is right?
@endfor
--}}
@section('scripts')
@endsection