{% if admin.isGranted('DELETE', object) and admin.hasRoute('delete') %} {% trans from 'SonataAdminBundle' %}action_delete{% endtrans %} {% endif %}