From defd5333198ff5d52daef022852fdad3d1961451 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 7 Nov 2022 16:16:09 +0100 Subject: [PATCH] Don't duplicate hidden fields --- core/admin/mailu/ui/templates/macros.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/admin/mailu/ui/templates/macros.html b/core/admin/mailu/ui/templates/macros.html index 0da069a9..46a76991 100644 --- a/core/admin/mailu/ui/templates/macros.html +++ b/core/admin/mailu/ui/templates/macros.html @@ -60,9 +60,7 @@
{{ form.hidden_tag() }} {%- for field in form %} - {%- if bootstrap_is_hidden_field(field) %} - {{ field() }} - {%- else %} + {%- if not bootstrap_is_hidden_field(field) %} {{ form_field(field) }} {%- endif %} {%- endfor %}