1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2025-03-15 19:48:10 +00:00
AdvLabDB/advlabdb/templates/import.html

22 lines
543 B
HTML
Raw Normal View History

2021-09-11 21:08:37 +02:00
{% from "macros.html" import information %}
2021-09-11 20:53:11 +02:00
{% extends "admin/master.html" %}
{% block body %}
{{information(current_user, userActiveSemester, role="admin")}}
2021-09-11 21:08:37 +02:00
{% for error in form.file.errors %}
<div class="alert alert-danger">
<strong>Error!</strong> {{ error }}
2021-09-11 21:08:37 +02:00
</div>
{% endfor %}
2021-09-11 20:53:11 +02:00
<form method="POST" enctype="multipart/form-data">
{{ form.csrf_token }}
2021-09-11 21:08:37 +02:00
{{ form.file.label }}
2021-09-11 20:53:11 +02:00
{{ form.file }}
<input type="submit" value="Upload and import">
2021-09-11 21:08:37 +02:00
<br>
<br>
{{ form.file.description }}
2021-09-11 20:53:11 +02:00
</form>
{% endblock body %}