Use components for form buttons and file notes

This commit is contained in:
2025-01-15 18:32:41 +11:00
parent db4b90183f
commit 026b3f5a20
12 changed files with 101 additions and 129 deletions

View File

@@ -0,0 +1,9 @@
<button id="form-reset" class="btn btn-outline-danger">@lang('Reset')</button>
@section('page-scripts')
<script>
$(document).ready(function() {
$('#form-reset').on('click',()=>$('#{{$form}}')[0].reset());
});
</script>
@append