11 lines
279 B
PHP
11 lines
279 B
PHP
<button type="button" class="btn bg-gradient-info btn-add"><i class="fa fa-plus-circle"></i></button>
|
|
|
|
@push('js')
|
|
<script>
|
|
$('#{{ $model }}-table-header .btn-add').click(function() {
|
|
url = '{{ $route }}' + '/create/';
|
|
window.location = url;
|
|
});
|
|
</script>
|
|
@endpush
|