{# 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 'SonataAdminBundle:CRUD:edit.html.twig' %} {% block actions %} {% endblock %} {% block side_menu %} {% endblock %} {% block formactions %} {% endblock %} {% block preview %}
{% for name, view_group in admin.showgroups %} {% if name %} {% endif %} {% for field_name in view_group.fields %} {% if admin.show[field_name] is defined %} {{ admin.show[field_name]|render_view_element(object) }} {% endif %} {% endfor %}
{{ admin.trans(name) }}
{% endfor %}
{% endblock %} {% block form %}
{{ parent() }}
{% endblock %}