update Index_signer
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
@endphp
|
||||
|
||||
<!--begin::Card-->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}" />fsddsfsf
|
||||
<div class="card card-xxl-stretch mb-5 mb-xl-8">
|
||||
<!--begin::Card body-->
|
||||
<div class="card-body pt-6">
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
<!-- Modal body -->
|
||||
<div class="modal-body">
|
||||
<form class="form-horizontal" id="formSigner" action="{{ route($route[0] . '.postSigner') }}"
|
||||
<form class="form-horizontal" id="formSigner"
|
||||
method="POST">
|
||||
@csrf
|
||||
<!-- Add your form fields here -->
|
||||
@ -98,8 +98,7 @@
|
||||
|
||||
<!-- Modal body -->
|
||||
<div class="modal-body">
|
||||
<form class="form-horizontal" id="formUpdateSigner" action="{{ route($route[0] . '.updateSigner') }}"
|
||||
method="POST">
|
||||
<form class="form-horizontal" id="formUpdateSigner" >
|
||||
@csrf
|
||||
<!-- Add your form fields here -->
|
||||
<div class="form-group row">
|
||||
@ -123,8 +122,7 @@
|
||||
</div>
|
||||
<!-- Modal footer -->
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary btn-sm closeButtonUpdateSigner"
|
||||
data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-secondary btn-sm closeButtonUpdateSigner" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" id="submitFormUpdateSigner">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
@ -133,21 +131,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@push('customscript')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(function () {
|
||||
// Open the modal when the "Open Modal" button is clicked
|
||||
$("#openModalBtnSigner").click(function() {
|
||||
$("#signerModal").modal('show');
|
||||
$("#signerModal").modal("show");
|
||||
});
|
||||
$(".closeButtonSigner").click(function() {
|
||||
$("#signerModal").modal("hide");
|
||||
});
|
||||
|
||||
$(".closeButtonSigner").click(function() {
|
||||
$("#signerModal").modal('hide');
|
||||
});
|
||||
$(".closeButtonUpdateSigner").click(function() {
|
||||
$("#myModalEditSigner").modal('hide');
|
||||
$("#myModalEditSigner").modal("hide");
|
||||
});
|
||||
|
||||
// Handle form submission when the "Submit" button inside the modal is clicked
|
||||
@ -271,12 +267,7 @@
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
|
||||
|
||||
</x-default-layout>
|
||||
|
Reference in New Issue
Block a user