{# 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:list_button.html.twig' %} {% include 'SonataAdminBundle:Button:create_button.html.twig' %}
{% endblock %} {% block side_menu %}{{ knp_menu_render(admin.sidemenu(action), {'currentClass' : 'active'}, 'list') }}{% endblock %} {% block content %}

{% trans with {'%action%': action_label} from 'SonataAdminBundle' %}title_batch_confirmation{% endtrans %}

{% if data.all_elements %} {{ 'message_batch_all_confirmation'|trans({}, 'SonataAdminBundle') }} {% else %} {% transchoice data.idx|length with {'%count%': data.idx|length} from 'SonataAdminBundle' %}message_batch_confirmation{% endtranschoice %} {% endif %}
{{ form_rest(form) }}
{% if admin.hasRoute('list') and admin.isGranted('LIST') %} {{ 'delete_or'|trans({}, 'SonataAdminBundle') }} {{ 'link_action_list'|trans({}, 'SonataAdminBundle') }} {% endif %}
{% endblock %}