Ver código fonte

Fix show tabs when embedded as sonata_type_admin

Paweł Smok 9 anos atrás
pai
commit
f221c17597

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

@@ -39,5 +39,5 @@
             </div>
         </div>
     {% endfor %}
-    </div>
+    {% if has_tab %}<div class="row">{% endif %}
 {% endmacro %}