1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-26 23:51:03 +00:00
AdvLabDB/advlabdb/templates/admin_actions.jinja.html
2022-10-09 03:00:51 +02:00

19 lines
568 B
HTML

{% extends "admin_base.jinja.html" %}
{% block content %}
<form method="POST">
{% for field in form %}
{% if field.widget.input_type == "checkbox" %}
<div class="form-check">
{{ field(class="form-check-input") }}
<label class="form-check-label" for="{{ field.id }}">
{{ field.label }}
</label>
</div>
{% else %}
{{ field() }}
{% endif %}
{% endfor %}
</form>
{% endblock %}