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

{{ __('academic.edit_academic_subject') }}

@if (auth()->user()->hasRole('Super Admin'))
{!! html()->label(__('core.business_name') . ':', 'business_id') !!} {!! html()->select('business_id', $business_list)->class('form-control')->id('business_id')->required()->value(old('business_id', $subject->business_id)) !!}
@endif
{!! html()->label(__('student.subject_name') . ':', 'subject_name') !!} {!! html()->text('subject')->class('form-control')->id('subject_name')->required()->maxLength(100)->value(old('subject', $subject->subject ?? '')) !!}
{!! html()->label(__('student.subject_code') . ':', 'subject_code') !!} {!! html()->number('subject_code')->class('form-control')->id('subject_code')->required()->maxLength(100)->value(old('subject_code', $subject->subject_code ?? '')) !!}
{!! html()->label(__('core.note') . ':', 'note') !!} {!! html()->textarea('note')->class('form-control')->id('note')->value(old('note', $subject->note ?? '')) !!}
{!! html()->form()->close() !!}