@if ($crud->hasAccess('restore') && $entry->trashed())
{{ trans('backpack/pro::trash.restore') }}
@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) --}}
@loadOnce('restore_button_script')
@push('after_scripts') @if (request()->ajax()) @endpush @endif
@if (!request()->ajax()) @endpush @endif
@endLoadOnce