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

94 lines
4.1 KiB
PHP

<div class="row">
<div class="col-lg-12">
<div class="card">
{{-- <div class="card-header card-primary">
<h4 class="card-title mb-0">Personal Details</h4>
</div> --}}
<div class="card-body">
<div class="row gy-2">
<p class="text-primary">Trainer Details</p>
<hr>
<div class="col-md-4">
{{ html()->label('First name')->class('form-label') }}
{{ html()->text('first_name')->class('form-control')->placeholder('Enter First Name')->required() }}
{{ html()->div('Please enter first name')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Middle name')->class('form-label') }}
{{ html()->text('middle_name')->class('form-control')->placeholder('Enter Middle Name') }}
</div>
<div class="col-md-4">
{{ html()->label('Last name')->class('form-label') }}
{{ html()->text('last_name')->class('form-control')->placeholder('Enter Last Name')->required() }}
{{ html()->div('Please enter last name')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Phone Number')->class('form-label') }}
{{ html()->text('phone')->class('form-control')->placeholder('Enter Phone Number') }}
</div>
<div class="col-md-4">
{{ html()->label('Email')->class('form-label') }}
{{ html()->email('email')->class('form-control')->placeholder('Enter Email')->required() }}
{{ html()->div('Please enter email')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Address')->class('form-label') }}
{{ html()->text('address')->class('form-control')->placeholder('Enter Address')->required() }}
{{ html()->div('Please enter address')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Shift')->class('form-label') }}
{{ html()->text('shift')->class('form-control')->placeholder('Enter Shift')->required() }}
{{ html()->div('Please enter Shift')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Salary')->class('form-label') }}
{{ html()->text('salary')->class('form-control')->placeholder('Enter Salary')->required() }}
{{ html()->div('Please enter salary')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Start Date')->class('form-label') }}
<div class="input-group">
{{ html()->text('start_date')->class('form-control flatpickr-date')->id('event-start-date')->placeholder('Event Start Date') }}
<span class="input-group-text"><i class="ri-calendar-event-line"></i></span>
</div>
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('End Date')->class('form-label') }}
<div class="input-group">
{{ html()->text('end_date')->class('form-control flatpickr-date')->id('event-end-date')->placeholder('Event End Date') }}
<span class="input-group-text"><i class="ri-calendar-event-line"></i></span>
</div>
</div>
<div class="col-md-4">
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->text('remark')->class('form-control')->placeholder('Enter Remarks')->required() }}
{{ html()->div('Please enter remark')->class('invalid-feedback') }}
</div>
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
<div class="mb-4 text-end">
<button type="submit" class="btn btn-success w-sm">Save</button>
</div>
</div>
</div>