Enhance interface

This commit is contained in:
Ludovic CANDELLIER
2020-07-16 15:48:31 +02:00
parent cc6edb2480
commit fcd26d13de
18 changed files with 208 additions and 46 deletions

View File

@@ -0,0 +1,11 @@
<button @if (isset($type))type="{{ $type }}"@else type="button"@endif class="btn btn-secondary cancel @if (isset($class)){{ $class }}@endif" @if (isset($id_name)) id="{{ $id_name }}"@endif>
<i class="fa fa-fw fa-ban"></i> {{ __('cancel') }}
</button>
@push('js')
<script>
$('.form-buttons .cancel').click(function() {
window.history.back();
})
</script>
@endpush