{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% extends base_template %} {% block actions %}
{% include 'SonataAdminBundle:Button:edit_button.html.twig' %} {% include 'SonataAdminBundle:Button:create_button.html.twig' %} {% include 'SonataAdminBundle:Button:list_button.html.twig' %}
{% endblock %} {% block side_menu %}{{ knp_menu_render(admin.sidemenu(action), {'currentClass' : 'active'}, 'list') }}{% endblock %} {% block content %}

{{ 'title_delete'|trans({}, 'SonataAdminBundle') }}

{{ 'message_delete_confirmation'|trans({'%object%': admin.toString(object)}, 'SonataAdminBundle') }}
{% if admin.hasRoute('edit') and admin.isGranted('EDIT', object) %} {{ 'delete_or'|trans({}, 'SonataAdminBundle') }} {{ 'link_action_edit'|trans({}, 'SonataAdminBundle') }} {% endif %}
{% endblock %}