1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00
AdvLabDB/advlabdb/templates/admin_actions.jinja.html

20 lines
568 B
HTML
Raw Normal View History

2022-10-09 01:00:51 +00:00
{% extends "admin_base.jinja.html" %}
2022-04-10 19:04:13 +00:00
2022-10-09 01:00:51 +00:00
{% block content %}
2022-04-10 19:01:42 +00:00
<form method="POST">
2022-09-24 14:16:48 +00:00
{% 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 %}
2022-04-10 19:01:42 +00:00
</form>
2022-10-09 01:00:51 +00:00
{% endblock %}