Browse Source

Fix extra space for the immutable array type

Thomas Rabaix 12 years ago
parent
commit
1300cda804
1 changed files with 6 additions and 8 deletions
  1. 6 8
      Resources/views/Form/form_admin_fields.html.twig

+ 6 - 8
Resources/views/Form/form_admin_fields.html.twig

@@ -177,16 +177,14 @@ file that was distributed with this source code.
 
 {% block sonata_type_immutable_array_widget %}
     {% spaceless %}
-        <div class="controls">
-            <div {{ block('widget_container_attributes') }}>
-                {{ form_errors(form) }}
+        <div {{ block('widget_container_attributes') }}>
+            {{ form_errors(form) }}
 
-                {% for key, child in form %}
-                    {{ block('sonata_type_immutable_array_widget_row') }}
-                {% endfor %}
+            {% for key, child in form %}
+                {{ block('sonata_type_immutable_array_widget_row') }}
+            {% endfor %}
 
-                {{ form_rest(form) }}
-            </div>
+            {{ form_rest(form) }}
         </div>
     {% endspaceless %}
 {% endblock sonata_type_immutable_array_widget %}