{!! 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('question', 'Code Question:') !!} {!! Form::hidden('question', null, ['class' => 'form-control', 'id' => 'res']) !!}
{!! @$question->question !!}
{{--
{!! Form::label('hint', 'Hint:') !!} {!! Form::textarea('hint', null, ['class' => 'form-control']) !!}
--}}
@if($title == "edit") @foreach($essay as $key => $data)
@endforeach @else
@endif
Expand +
{!! 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
--}}
Cancel
@section('scripts') @endsection