-@if ($entry->allowsDelete())
+@if(!method_exists($entry,'allowsDelete') || $entry->allowsDelete())
<a href="javascript:void(0)" onclick="deleteEntry(this)" data-route="{{ url($crud->route.'/'.$entry->getKey()) }}"
class="btn btn-sm btn-link" data-button-type="delete"><i
class="la la-trash"></i> {{ trans('backpack::crud.delete') }}</a>
$deleteConfirmTitle=__('Suppression d\'une publication');
$deleteConfirmText=__('Souhaitez-vous réellement supprimer cette publication ?');
@endphp
-@if($entry->allowsDelete())
+@if(!method_exists($entry,'allowsDelete') || $entry->allowsDelete())
@include('crud::buttons.delete')
@endif