Compare commits
2 Commits
58d8ee8080
...
dbe6632313
Author | SHA1 | Date | |
---|---|---|---|
dbe6632313 | |||
|
2dc9e4afe7 |
@ -24,7 +24,7 @@
|
||||
<div class="col-lg-8">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form action="{{ route('leave.store') }}" method="post" class="needs-validation" novalidate>
|
||||
<form action="{{ route('leave.store') }}" class="needs-validation" novalidate method="post">
|
||||
@csrf
|
||||
@include('leave::partials.action')
|
||||
</form>
|
||||
|
@ -1,9 +1,8 @@
|
||||
<div class="mb-3">
|
||||
<label for="employeeName" class="form-label">Employee Name</label>
|
||||
<input type="text" class="form-control" id="employeeName" placeholder="Enter emploree name" name="employeeName"
|
||||
required>
|
||||
<input type="text" class="form-control" id="employeeName" placeholder="Enter employee name" name="employeeName" required>
|
||||
<div class="invalid-feedback">
|
||||
Please enter Employee Name.
|
||||
Please enter employee name.
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
@ -25,3 +24,7 @@
|
||||
<div class="text-end">
|
||||
<button type="submit" class="btn btn-primary">Add Leave</button>
|
||||
</div>
|
||||
|
||||
@push('js')
|
||||
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
||||
@endpush
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg"
|
||||
data-sidebar-image="none" data-preloader="disable">
|
||||
data-sidebar-image="none" data-preloader="enable">
|
||||
|
||||
<head>
|
||||
|
||||
@ -145,9 +145,7 @@
|
||||
|
||||
<!-- Custom js -->
|
||||
<script src="{{ asset('assets/js/custom.js') }}"></script>
|
||||
|
||||
@stack('js')
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user