{{ html()->label('Employee')->class('form-label') }} {{ html()->select('employee_id')->class('form-select')->placeholder('Select Employee') }}
{{ html()->label('Warning type')->class('form-label') }} {{ html()->select('type')->class('form-control')->placeholder('Select Warning Type') }}
{{ html()->label('Warning Date')->class('form-label') }} {{ html()->date('warning_date')->class('form-control')->placeholder('Select Warning Date') }}
{{ html()->label('Subject')->class('form-label') }} {{ html()->text('subject')->class('form-control')->placeholder('Write Warning Suject') }}
{{ html()->label('Description')->class('form-label') }} {{ html()->textarea('description')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->label('Remarks')->class('form-label') }} {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->button($editable ? 'Update' : 'Add Warning', 'submit')->class('btn btn-success') }}