From: Raphaƫl Gertz Date: Wed, 21 Feb 2024 11:19:04 +0000 (+0100) Subject: Fix expanded widget layout X-Git-Tag: 0.3.0~78 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/eff5f0cf9458e36540ec456d37483d7be55d9b94?hp=b93d6f12c16fed0b74441123a9c473c04732b1ff Fix expanded widget layout --- diff --git a/Resources/views/form/form_div_layout.html.twig b/Resources/views/form/form_div_layout.html.twig index 9270f0e..61c8a03 100644 --- a/Resources/views/form/form_div_layout.html.twig +++ b/Resources/views/form/form_div_layout.html.twig @@ -43,12 +43,14 @@ {%- endblock choice_widget -%} {%- block choice_widget_expanded -%} -
{%- for child in form %} - {{- form_widget(child) -}} - {{- form_label(child, null, {translation_domain: choice_translation_domain}) -}} +
+ {{- form_label(child, null, {translation_domain: choice_translation_domain}) -}} +
+ {{- form_widget(child) -}} +
+
{% endfor -%} -
{%- endblock choice_widget_expanded -%} {%- block choice_widget_collapsed -%} @@ -316,7 +318,7 @@ {%- endblock form_row -%} {%- block button_row -%} -
+
{{- form_widget(form) -}}
{%- endblock button_row -%}