mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-26 23:51:03 +00:00
19 lines
568 B
HTML
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 %}
|