{{ html()->label('Name')->class('form-label') }} {{ html()->text('name')->class('form-control')->placeholder('Category Name') }}
{{ html()->label('Department')->class('form-label') }} {{ html()->select('department_id')->class('form-select select2')->placeholder('Department') }}
{{ html()->label('Designation')->class('form-label') }} {{ html()->select('designation_id')->class('form-select select2')->placeholder('Desgination') }}
{{ html()->label('Employee')->class('form-label') }} {{ html()->select('employee_id')->class('form-select select2')->placeholder('Employee') }}
{{ html()->label('Asset')->class('form-label') }} {{ html()->select('asset_id', $availableAssetLists)->class('form-select select2')->placeholder('Available Asset') }}
{{ html()->label('Date')->class('form-label') }} {{ html()->date('request_date')->class('form-control') }}
{{ html()->label('Reason')->class('form-label') }} {{ html()->textarea('reason')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->button($editable ? 'Update' : 'Add Demand', 'submit')->class('btn btn-success') }}