{# 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:history_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 show %}
{{ sonata_block_render_event('sonata.admin.show.top', { 'admin': admin, 'object': object }) }} {% for name, view_group in admin.showgroups %} {% if name %} {% endif %} {% for field_name in view_group.fields %} {% if elements[field_name] is defined %} {{ elements[field_name]|render_view_element(object) }} {% endif %} {% endfor %}
{{ admin.trans(name) }}
{% endfor %} {{ sonata_block_render_event('sonata.admin.show.bottom', { 'admin': admin, 'object': object }) }}
{% endblock %}