Compare commits

..

No commits in common. "dbe6632313d255a289ca5a27436f5419380fad99" and "58d8ee8080a8dab27e6e067630cac84724f7c3b9" have entirely different histories.

3 changed files with 18 additions and 19 deletions

View File

@ -24,7 +24,7 @@
<div class="col-lg-8"> <div class="col-lg-8">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<form action="{{ route('leave.store') }}" class="needs-validation" novalidate method="post"> <form action="{{ route('leave.store') }}" method="post" class="needs-validation" novalidate>
@csrf @csrf
@include('leave::partials.action') @include('leave::partials.action')
</form> </form>

View File

@ -1,8 +1,9 @@
<div class="mb-3"> <div class="mb-3">
<label for="employeeName" class="form-label">Employee Name</label> <label for="employeeName" class="form-label">Employee Name</label>
<input type="text" class="form-control" id="employeeName" placeholder="Enter employee name" name="employeeName" required> <input type="text" class="form-control" id="employeeName" placeholder="Enter emploree name" name="employeeName"
required>
<div class="invalid-feedback"> <div class="invalid-feedback">
Please enter employee name. Please enter Employee Name.
</div> </div>
</div> </div>
<div class="mb-3"> <div class="mb-3">
@ -24,7 +25,3 @@
<div class="text-end"> <div class="text-end">
<button type="submit" class="btn btn-primary">Add Leave</button> <button type="submit" class="btn btn-primary">Add Leave</button>
</div> </div>
@push('js')
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush

View File

@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" <html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg"
data-sidebar-image="none" data-preloader="enable"> data-sidebar-image="none" data-preloader="disable">
<head> <head>
@ -145,7 +145,9 @@
<!-- Custom js --> <!-- Custom js -->
<script src="{{ asset('assets/js/custom.js') }}"></script> <script src="{{ asset('assets/js/custom.js') }}"></script>
@stack('js') @stack('js')
</body> </body>
</html> </html>