Heera/Modules/Admin/resources/views/partials/departments/action.blade.php
2024-05-16 09:31:08 +05:45

29 lines
1.0 KiB
PHP

<div class="row gy-3">
<div class="col-lg-6 col-md-6">
{{ html()->label('Department Name')->class('form-label') }}
{{ html()->text('name')->class('form-control')->placeholder('Department Name')->required() }}
{{ html()->div('Please add the department name')->class('invalid-feedback') }}
</div>
<div class="col-lg-6 col-md-6">
{{ html()->label('Department Head')->class('form-label') }}
{{ html()->select('employee_id',$employeeLists)->class('form-control select2')->placeholder('Department Head') }}
{{ html()->div('Please add the department head')->class('invalid-feedback') }}
</div>
<div class="col-lg-12 col-md-12">
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('description')->class('form-control') }}
</div>
<div class="text-end">
{{ html()->button($editable ? 'Update' : 'Add Department', 'submit')->class('btn btn-success') }}
</div>
</div>
@push('js')
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush