{!! html()->form('PUT', route("exams.update", [$exam->id])) ->id('exam_form') ->open() !!}

{{ __('manage_exam.edit_exam') }}

{!! html()->label(__('student.exam_name') . ':', 'exam_name') !!} {!! html()->text('exam_name') ->class('form-control') ->id('exam_name') ->required() ->maxLength(100) ->value(old('exam_name', $exam->exam_name ?? '')) !!}
{!! html()->label(__('core.note') . ':', 'note') !!} {!! html()->textarea('note') ->class('form-control') ->id('note') ->value(old('note', $exam->note ?? '')) !!}
{!! html()->button(__('messages.save'), 'submit') ->class('btn btn-primary') !!} {!! html()->button(__('messages.close'), 'button') ->class('btn btn-default') ->attribute('data-dismiss', 'modal') !!}
{!! html()->form()->close() !!}