|
@@ -17,7 +17,7 @@
|
|
|
<p>{{ form_group.description|raw }}</p>
|
|
|
{% endif %}
|
|
|
|
|
|
- {% for field_name in form_group.fields if admin.formfielddescriptions[field_name] is defined %}
|
|
|
+ {% for field_name in form_group.fields if form[field_name] is defined %}
|
|
|
{{ form_row(form[field_name])}}
|
|
|
{% else %}
|
|
|
<em>{{ 'message_form_group_empty'|trans({}, 'SonataAdminBundle') }}</em>
|