{% if admin.hasAccess('delete', object) and admin.hasRoute('delete') %} {#{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}#} {% endif %}