{% trans_default_domain 'admin' %}

{{ form_errors(form) }}
{{ form_start(form, { 'attr': ajax_form ? { 'class': 'ajax' } : {} }) }}
{% for name, fields in field_groups %}
    <div>
        <h2>{{ (meta.baseTranslationPrefix ~ 'field_group.' ~ name) | trans }}</h2>
        {% for field, attr in fields %}
            {{ form_row(attribute(form, field)) }}
        {% endfor %}
    </div>
{% endfor %}
{{ form_end(form) }}

{% trans_default_domain 'admin' %}

{{ form_errors(form) }}
{{ form_start(form, { 'attr': ajax_form is defined and ajax_form ? { 'class': 'ajax' } : {} }) }}
{% for name, fields in field_groups %}
    <div>
        <h2>{{ (meta.baseTranslationPrefix ~ 'field_group.' ~ name) | trans }}</h2>
        {% for field, attr in fields %}
            {{ form_row(attribute(form, field)) }}
        {% endfor %}
    </div>
{% endfor %}
{{ form_end(form) }}

Fix CRUD form widget template.
Fix CRUD form widget template.
