From cb3be2556b2a08723ed56afcd840fe4ebe13b894 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Fri, 22 Jul 2022 08:36:40 +0200 Subject: [PATCH] dont show section if section is not visible completely Signed-off-by: Michael Kaufmann --- templates/Froxlor/form/form.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/Froxlor/form/form.html.twig b/templates/Froxlor/form/form.html.twig index 71e51069..627f7ce1 100644 --- a/templates/Froxlor/form/form.html.twig +++ b/templates/Froxlor/form/form.html.twig @@ -4,6 +4,7 @@
{% for sid,section in form_data.sections %} + {% if section.visible is not defined or (section.visible is defined and section.visible == true) %}
{% if section.title is not empty %}
@@ -19,6 +20,7 @@ {% endfor %}
+ {% endif %} {% endfor %} {% if nosubmit == false %}