2021-09-11 19:08:37 +00:00
|
|
|
{% from "macros.html" import information %}
|
2021-09-11 18:53:11 +00:00
|
|
|
{% extends "admin/master.html" %}
|
|
|
|
|
|
|
|
{% block body %}
|
2022-06-01 20:53:23 +00:00
|
|
|
{{ information(current_user, active_semester_str, role="admin") }}
|
2021-09-11 19:08:37 +00:00
|
|
|
|
2022-04-10 19:04:13 +00:00
|
|
|
<hr>
|
|
|
|
|
2022-03-19 21:21:45 +00:00
|
|
|
{% for error in form.file.errors %}
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong>Error!</strong> {{ error }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2021-09-11 19:08:37 +00:00
|
|
|
|
2022-03-19 21:21:45 +00:00
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
{{ form.csrf_token }}
|
|
|
|
{{ form.file.label }}
|
|
|
|
{{ form.file }}
|
2022-04-10 19:01:42 +00:00
|
|
|
{{ form.submit }}
|
2022-03-19 21:21:45 +00:00
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
{{ form.file.description }}
|
|
|
|
</form>
|
2022-05-30 14:43:29 +00:00
|
|
|
|
|
|
|
{{ footer|safe }}
|
2022-03-19 21:21:45 +00:00
|
|
|
{% endblock body %}
|