1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-22 23:51:03 +00:00
AdvLabDB/advlabdb/templates/import.html

22 lines
No EOL
543 B
HTML

{% from "macros.html" import information %}
{% extends "admin/master.html" %}
{% block body %}
{{information(current_user, userActiveSemester, role="admin")}}
{% 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 }}
<input type="submit" value="Upload and import">
<br>
<br>
{{ form.file.description }}
</form>
{% endblock body %}