33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
<div class="row gy-3">
|
|
|
|
<div class="col-lg-6 col-md-6">
|
|
{{ html()->label('Department')->class('form-label') }}
|
|
{{ html()->select('department_id', [1 => 'Employee of the Month', 2 => 'Best Manger'])->class('form-select select2')->placeholder('Department')->required() }}
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6">
|
|
{{ html()->label('Name')->class('form-label') }}
|
|
{{ html()->text('name')->class('form-control')->placeholder('Designation Name')->required() }}
|
|
{{ html()->div('Please add designation')->class('invalid-feedback') }}
|
|
|
|
</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 Designation', 'submit')->class('btn btn-success') }}
|
|
</div>
|
|
</div>
|
|
|
|
@push('js')
|
|
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
|
@endpush
|