diff --git a/advlabdb/templates/import.html b/advlabdb/templates/import.html index 8e2a89b..4061415 100644 --- a/advlabdb/templates/import.html +++ b/advlabdb/templates/import.html @@ -1,9 +1,22 @@ +{% from "macros.html" import information %} {% extends "admin/master.html" %} {% block body %} +{{ information(current_user, userActiveSemester, role="admin") }} + +{% for error in form.file.errors %} +
+ Error! {{error}} +
+{% endfor %} +
{{ form.csrf_token }} + {{ form.file.label }} {{ form.file }} +
+
+ {{ form.file.description }}
{% endblock body %} \ No newline at end of file