{!! html()->form('PUT', route("exams.update", [$exam->id]))
->id('exam_form')
->open() !!}
{!! 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()->form()->close() !!}