mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
26 lines
623 B
HTML
26 lines
623 B
HTML
{% from "macros.html" import information %}
|
|
{% extends "admin/master.html" %}
|
|
|
|
{% block body %}
|
|
{{ information(current_user, active_semester_repr, role="admin") }}
|
|
|
|
<hr>
|
|
|
|
{% for error in form.file.errors %}
|
|
<div class="alert alert-danger">
|
|
<strong>Error!</strong> {{ error }}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
{{ form.csrf_token }}
|
|
{{ form.file.label }}
|
|
{{ form.file }}
|
|
{{ form.submit }}
|
|
<br>
|
|
<br>
|
|
{{ form.file.description }}
|
|
</form>
|
|
|
|
{{ footer|safe }}
|
|
{% endblock body %}
|