24 lines
712 B
PHP
24 lines
712 B
PHP
<div class="mb-3">
|
|
<label for="name" class="form-label">Name</label>
|
|
<input type="text" class="form-control" id="name" placeholder="Enter name" name="name"
|
|
value="{{ old('end_date', $leave->name ?? '') }}" required>
|
|
<div class="invalid-feedback">
|
|
Please enter employee name.
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Email</label>
|
|
<input type="text" class="form-control" id="email" name="email"
|
|
value="{{ old('email', $leave->email ?? '') }}">
|
|
</div>
|
|
|
|
|
|
<div class="text-end">
|
|
<button type="submit" class="btn btn-primary">{{ $btnType }}</button>
|
|
</div>
|
|
|
|
@push('js')
|
|
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
|
@endpush
|