StocksNew/Modules/Recruit/resources/views/partials/jobposts/action.blade.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

59 lines
2.5 KiB
PHP

<div class="row gy-2">
<div class="col-lg-4 col-md-6">
{{ html()->label('For Department')->class('form-label') }}
{{ html()->select('department_id', $departmentLists)->class('form-select select2')->placeholder('Department')->required() }}
{{ html()->div('Please select department')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('For Designation')->class('form-label') }}
{{ html()->select('designation_id', $designationLists)->class('form-select select2')->placeholder('Designation')->required() }}
{{ html()->div('Please select designation')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Title')->class('form-label') }}
{{ html()->text('title')->class('form-control')->placeholder('Enter Title')->required() }}
{{ html()->div('Please fill title')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Vacancy Number')->class('form-label') }}
{{ html()->number('vacancy_no')->class('form-control')->placeholder('Job Vacancy Number')->required() }}
{{ html()->div('Please add vacancy number')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Post Date')->class('form-label') }}
<div class="input-group">
{{ html()->text('post_date')->class('form-control flatpickr-date')->placeholder('Job Post Date') }}
<span class="input-group-text"><i class="ri-time-line"></i></span>
</div>
{{ html()->div('Please add post date')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Expiry Date')->class('form-label') }}
<div class="input-group">
{{ html()->text('expiry_date')->class('form-control flatpickr-date')->placeholder('Expiry Date') }}
<span class="input-group-text"><i class="ri-time-line"></i></span>
</div>
{{ html()->div('Please add expiry date')->class('invalid-feedback') }}
</div>
<div class="col-lg-12 col-md-12">
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('description')->class('form-control ckeditor-classic')->attributes(['rows' => 3]) }}
</div>
<x-form-buttons :editable='$editable' label='Add' href="{{ route('jobPost.index') }}" />
</div>
@push('js')
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush