소스 검색

Merge pull request #2849 from qsomazzi/fix_form_row2

Fix form row calculation
Thomas 10 년 전
부모
커밋
8594eb42b7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Resources/views/CRUD/base_edit_form_macro.html.twig

+ 2 - 2
Resources/views/CRUD/base_edit_form_macro.html.twig

@@ -1,5 +1,5 @@
 {% macro render_groups(admin, form, groups, has_tab) %}
 {% macro render_groups(admin, form, groups, has_tab) %}
-    {% if has_tab %}<div class="row">{% endif %}
+    <div class="row">
 
 
     {% for code in groups %}
     {% for code in groups %}
         {% set form_group = admin.formgroups[code] %}
         {% set form_group = admin.formgroups[code] %}
@@ -31,5 +31,5 @@
             </div>
             </div>
         </div>
         </div>
     {% endfor %}
     {% endfor %}
-    {% if has_tab %}</div>{% endif %}
+    </div>
 {% endmacro %}
 {% endmacro %}