fixes
This commit is contained in:
parent
5cc42edcba
commit
2dc9e4afe7
@ -24,7 +24,7 @@
|
||||
<div class="col-lg-8">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form action="{{ route('leave.store') }}" method="post">
|
||||
<form action="{{ route('leave.store') }}" class="needs-validation" novalidate method="post">
|
||||
@csrf
|
||||
@include('leave::partials.action')
|
||||
</form>
|
||||
|
@ -1,23 +1,30 @@
|
||||
<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">
|
||||
<label for="employeeName" class="form-label">Employee Name</label>
|
||||
<input type="text" class="form-control" id="employeeName" placeholder="Enter employee name" name="employeeName" required>
|
||||
<div class="invalid-feedback">
|
||||
Please enter employee name.
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="employeeUrl" class="form-label">Employee Department URL</label>
|
||||
<input type="url" class="form-control" id="employeeUrl" placeholder="Enter emploree url" name="employeeUrl">
|
||||
<label for="employeeUrl" class="form-label">Employee Department URL</label>
|
||||
<input type="url" class="form-control" id="employeeUrl" placeholder="Enter emploree url" name="employeeUrl">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="StartleaveDate" class="form-label">Start Leave Date</label>
|
||||
<input type="date" class="form-control" id="StartleaveDate" name="start_date">
|
||||
<label for="StartleaveDate" class="form-label">Start Leave Date</label>
|
||||
<input type="date" class="form-control" id="StartleaveDate" name="start_date">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="EndleaveDate" class="form-label">End Leave Date</label>
|
||||
<input type="date" class="form-control" id="EndleaveDate" name="end_date">
|
||||
<label for="EndleaveDate" class="form-label">End Leave Date</label>
|
||||
<input type="date" class="form-control" id="EndleaveDate" name="end_date">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="VertimeassageInput" class="form-label">Message</label>
|
||||
<textarea class="form-control" id="VertimeassageInput" rows="3" placeholder="Enter your message" name="remark"></textarea>
|
||||
<label for="VertimeassageInput" class="form-label">Message</label>
|
||||
<textarea class="form-control" id="VertimeassageInput" rows="3" placeholder="Enter your message" name="remark"></textarea>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@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>
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
|
||||
<!-- Theme Settings -->
|
||||
|
||||
@include('layouts.partials.theme-setting')
|
||||
{{-- @include('layouts.partials.theme-setting') --}}
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
<script src="{{ asset('assets/libs/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
||||
@ -138,7 +138,7 @@
|
||||
|
||||
<!-- Custom js -->
|
||||
<script type="module" src="{{ asset('assets/js/custom.js') }}"></script>
|
||||
|
||||
@stack('js')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user