More components for forms, updated base component, updated CompsiteKeys based on thiagoprz/eloquent-composite-key

This commit is contained in:
2024-07-23 18:47:36 +10:00
parent b9a3cd5647
commit f32c29fa8c
12 changed files with 133 additions and 75 deletions

View File

@@ -0,0 +1,11 @@
<button type="cancel" id="cancel" {{ $attributes->class(['btn','btn-sm','btn-danger']) }}>Cancel</button>
@section('page-scripts')
<script type="text/javascript">
$(document).ready(function() {
$('#cancel').on('click',function(item) {
return history.back();
});
});
</script>
@append