{% from "macros.jinja.html" import information %}
{% extends "admin/master.html" %}

{% block body %}
    {{ information(current_user, active_semester_str, role="admin") }}

    <hr>

    <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>

    {{ footer|safe }}
{% endblock body %}