From eff5f0cf9458e36540ec456d37483d7be55d9b94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 21 Feb 2024 12:19:04 +0100 Subject: [PATCH 1/1] Fix expanded widget layout --- Resources/views/form/form_div_layout.html.twig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -%} -- 2.41.1