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

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

@if (auth()->user()->hasRole('Super Admin'))
{!! html()->label(__('common.business_id') . ':', 'business_id') !!} {!! html()->select('business_id', $business_list)->class('form-control')->id('business_id')->required()->value(old('business_id', $exam->business_id)) !!}
@endif
{!! html()->label(__('exam.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(__('core.save'), 'submit')->class('btn btn-primary') !!} {!! html()->button(__('core.close'), 'button')->class('btn btn-default')->attribute('data-bs-dismiss', 'modal') !!}
{!! html()->form()->close() !!}