Procházet zdrojové kódy

Merge pull request #790 from pomaxa/2.0

fix error caused by request #770
Thomas před 13 roky
rodič
revize
933ff50577

+ 1 - 1
Resources/views/Form/form_admin_fields.html.twig

@@ -78,7 +78,7 @@ file that was distributed with this source code.
 
 {% block field_row %}
     {% if sonata_admin is not defined or not sonata_admin_enabled or not sonata_admin.field_description %}
-        {{ parent() }}
+        {{ form_row(form) }}
     {% else %}
         <div class="clearfix{% if errors|length > 0%} error{%endif%}" id="sonata-ba-field-container-{{ id }}">
             {% block label %}