first change

This commit is contained in:
2025-07-27 17:40:56 +05:45
commit f8b9a6725b
3152 changed files with 229528 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{{ html()->form('POST', route('designation.store'))->class('needs-validation')->attributes(['novalidate'])->open() }}
@isset($designation)
{{ html()->hidden('id', $designation->id) }}
@endisset
<div class="card-body">
<div class="row">
<div class="col-sm-12">
<div class="mb-3">
{{ html()->label('Title')->for('title') }}
{{ html()->span('*')->class('text-danger') }}
{{ html()->text('title', @$designation->title)->class('form-control')->placeholder('Enter Title')->required() }}
{{ html()->div('Please enter a title.')->class('invalid-feedback') }}
</div>
<div class="mb-3">
{{ html()->label('Slug')->for('slug') }}
{{ html()->text('slug', @$designation->slug)->class('form-control')->placeholder('Enter Designation Slug') }}
</div>
<div class="mb-3">
{{ html()->label('Department')->class('form-label')->for('department_id') }}
{{ html()->select('department_id', @$departmentOptions, @$designation->department_id)->class('form-select choices-select')->placeholder('Select') }}
</div>
</div>
<x-form-buttons :href="route('designation.index')" :label="isset($designation) ? 'Update' : 'Create'" />
</div>
</div>
{{ html()->form()->close() }}