work on user role module

This commit is contained in:
2024-04-09 18:00:26 +05:45
parent 4eace5b650
commit c019fcb02d
26 changed files with 419 additions and 82 deletions

View File

@ -24,13 +24,13 @@
<div class="col-lg-8">
<div class="card">
<div class="card-body">
<form action="{{ route('leave.update', $leave->leave_id) }}" class="needs-validation" novalidate
method="post">
@csrf
@method('put')
<input type="hidden" name="leave_id" value="{{ $leave->leave_id }}">
@include('leave::partials.action')
</form>
{{ html()->modelForm($leave, 'PUT')->route('leave.update', $leave->id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}
@include('leave::partials.action')
{{ html()->closeModelForm() }}
</div>
</div>
</div>