From 1aed3eedf8f038b59a08592318e54d59b9aa1ca3 Mon Sep 17 00:00:00 2001 From: siganushka Date: Thu, 28 Nov 2024 09:30:24 +0800 Subject: [PATCH] refactor: improving collection form theme --- templates/form_theme.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/form_theme.html.twig b/templates/form_theme.html.twig index 6a3e93c..fee87af 100644 --- a/templates/form_theme.html.twig +++ b/templates/form_theme.html.twig @@ -26,13 +26,13 @@ {# collection entry row #} {%- block collection_entry_row -%} - {% for entry in compound ? form : [form] %} + {%- for entry in compound ? form : [form] -%} {{- form_widget(entry, {attr: {placeholder: entry.vars.label}}) -}} {{- form_errors(entry) -}} {{- form_help(entry) -}} - {% endfor %} + {%- endfor -%} {%- if delete_button is defined and not delete_button.rendered -%} {{- form_row(delete_button) -}}