1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00
AdvLabDB/advlabdb/templates/actions.jinja.html

27 lines
721 B
HTML
Raw Normal View History

2022-09-11 12:55:53 +00:00
{% from "macros.jinja.html" import information %}
2022-04-10 19:01:42 +00:00
{% extends "admin/master.html" %}
{% block body %}
2022-06-01 20:53:23 +00:00
{{ information(current_user, active_semester_str, role="admin") }}
2022-04-10 19:01:42 +00:00
2022-04-10 19:04:13 +00:00
<hr>
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-05-30 14:43:29 +00:00
{{ footer|safe }}
2022-04-10 19:01:42 +00:00
{% endblock body %}