{% macro render_groups(admin, form, groups, has_tab) %} {% if has_tab %}
{{ form_group.description|raw }}
{% endif %} {% for field_name in form_group.fields %} {% if admin.formfielddescriptions[field_name] is defined %} {{ form_row(form[field_name])}} {% endif %} {% else %} {{ 'message_form_group_empty'|trans({}, 'SonataAdminBundle') }} {% endfor %}