<div class="row gy-3"> <div class="col-lg-4 col-md-6"> {{ html()->label('Employee')->class('form-label') }} {{ html()->select('employee_id')->class('form-select')->placeholder('Select Employee') }} </div> <div class="col-lg-4 col-md-6"> {{ html()->label('Warning type')->class('form-label') }} {{ html()->select('type')->class('form-control')->placeholder('Select Warning Type') }} </div> <div class="col-lg-4 col-md-6"> {{ html()->label('Warning Date')->class('form-label') }} {{ html()->date('warning_date')->class('form-control')->placeholder('Select Warning Date') }} </div> <div class="col-lg-12 col-md-12"> {{ html()->label('Subject')->class('form-label') }} {{ html()->text('subject')->class('form-control')->placeholder('Write Warning Suject') }} </div> <div class="col-lg-12 col-md-12"> {{ html()->label('Description')->class('form-label') }} {{ html()->textarea('description')->class('form-control')->attributes(['rows' => 3]) }} </div> <div class="col-lg-12 col-md-12"> {{ html()->label('Remarks')->class('form-label') }} {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }} </div> <div class="text-end"> {{ html()->button($editable ? 'Update' : 'Add Warning', 'submit')->class('btn btn-success') }} </div> </div>