mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 10:27:29 +00:00
dont show section if section is not visible completely
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
parent
b5e613a794
commit
cb3be2556b
@ -4,6 +4,7 @@
|
||||
|
||||
<form action="{{ formaction|default("") }}" method="post" enctype="application/x-www-form-urlencoded" class="form">
|
||||
{% for sid,section in form_data.sections %}
|
||||
{% if section.visible is not defined or (section.visible is defined and section.visible == true) %}
|
||||
<div class="card mb-3" id="{{ sid }}">
|
||||
{% if section.title is not empty %}
|
||||
<div class="card-header">
|
||||
@ -19,6 +20,7 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if nosubmit == false %}
|
||||
|
Loading…
Reference in New Issue
Block a user