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

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

@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', $shift->business_id)) !!}
@endif
{!! html()->label(__('academic.shift_name') . ':', 'shift_name') !!} {!! html()->text('shift_name')->class('form-control')->id('shift_name')->required()->maxLength(100)->value(old('shift_name', $shift->shift_name ?? '')) !!}
{!! html()->label(__('core.note') . ':', 'note') !!} {!! html()->textarea('note')->class('form-control')->id('note')->value(old('note', $shift->note ?? '')) !!}
{!! html()->form()->close() !!}