@if ($crud->hasAccess('delete', $entry)) {{ trans('backpack::crud.delete') }} @endif {{-- Button Javascript --}} {{-- - used right away in AJAX operations (ex: List) --}} {{-- - pushed to the end of the page, after jQuery is loaded, for non-AJAX operations (ex: Show) --}} @push('after_scripts') @if (request()->ajax()) @endpush @endif @bassetBlock('backpack/crud/buttons/delete-button-'.app()->getLocale().'.js') @endBassetBlock @if (!request()->ajax()) @endpush @endif