11 lines
300 B
PHP
11 lines
300 B
PHP
|
<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
|