Przeglądaj źródła

Merge pull request #1497 from DelphineGx/patch-1

Missing brackets form_widget(child)
Thomas 12 lat temu
rodzic
commit
b122195497

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

@@ -79,7 +79,7 @@ file that was distributed with this source code.
         {% for child in form %}
         {% for child in form %}
             <li>
             <li>
                 {% set form_widget_content %}
                 {% set form_widget_content %}
-                    form_widget(child)
+                    {{ form_widget(child) }}
                 {% endset %}
                 {% endset %}
                 {{ form_label(child, child.vars.label|default(null), { 'in_list_checkbox' : true, 'widget' : form_widget_content } ) }}
                 {{ form_label(child, child.vars.label|default(null), { 'in_list_checkbox' : true, 'widget' : form_widget_content } ) }}
             </li>
             </li>