Browse Source

fix twig error

pomaxa 13 năm trước cách đây
mục cha
commit
98e78f5d8c
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      Resources/views/Form/form_admin_fields.html.twig

+ 0 - 4
Resources/views/Form/form_admin_fields.html.twig

@@ -77,9 +77,6 @@ file that was distributed with this source code.
 {% endblock choice_widget %}
 
 {% block field_row %}
-    {% if sonata_admin is not defined or not sonata_admin_enabled or not sonata_admin.field_description %}
-        {{ parent() }}
-    {% else %}
         <div class="clearfix{% if errors|length > 0%} error{%endif%}" id="sonata-ba-field-container-{{ id }}">
             {% block label %}
                 {% if sonata_admin.field_description.options.name is defined %}
@@ -104,7 +101,6 @@ file that was distributed with this source code.
                 {% endif %}
             </div>
         </div>
-    {% endif %}
 {% endblock field_row %}
 
 {% block collection_widget_row %}