# 61 Filter frontend

* finished filter frontend
This commit is contained in:
2022-01-11 16:32:33 +01:00
parent 8a19d7239d
commit 5d5d8b1243
4 changed files with 44 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
{% for field in form %}
<div class="form-check form-check-inline">
{{field}} <label class="form-check-label" for="id_{{field.name}}">{{field.label}}</label>
</div>
{% endfor %}

View File

@@ -0,0 +1,10 @@
<div class="form-row align-items-center">
{% for field in form %}
{% if not field.is_hidden %}
<div class="col-auto">
{{field}}
</div>
{% else %}
{% endif %}
{% endfor %}
</div>