more work on settings

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-27 16:03:24 +01:00
parent a73f6ffef5
commit d9f909150d
14 changed files with 71 additions and 1410 deletions

View File

@@ -1,7 +1,7 @@
{% macro fieldrow(id, field, norow = false, nohide = false) %}
{% if field.visible is not defined or (field.visible is defined and field.visible) or nohide == true %}
{% if norow == false and field.type != 'hidden' %}
<div class="row mb-3 pb-1 border-bottom">
<div class="row mb-3 pb-3 border-bottom">
{% if field.label is iterable %}
<label for="{{ id }}" class="col-sm-4 col-form-label">{{ field.label.title|raw }}
{% if field.label.description is defined and field.label.description is not empty %}<br><small>{{ field.label.description|raw }}</small>