From c7fd8c443357879aab51134e6679ace45baec103 Mon Sep 17 00:00:00 2001 From: keroth Date: Sun, 10 May 2015 00:10:26 +0200 Subject: Added file support --- inventar/templates/upload.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 inventar/templates/upload.html (limited to 'inventar/templates/upload.html') diff --git a/inventar/templates/upload.html b/inventar/templates/upload.html new file mode 100644 index 0000000..5371020 --- /dev/null +++ b/inventar/templates/upload.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} + {% if user.is_authenticated %} +

Upload new Parent Tree:

+ +
{% csrf_token %} + {{form}} + + + {% endif %} +{% endblock %} -- cgit v1.2.3 From 1dc5ee4fdeb29dc6e058bda5a7c259968b763860 Mon Sep 17 00:00:00 2001 From: keroth Date: Sun, 10 May 2015 00:59:58 +0200 Subject: Added security --- inventar/templates/upload.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'inventar/templates/upload.html') diff --git a/inventar/templates/upload.html b/inventar/templates/upload.html index 5371020..29a2dbe 100644 --- a/inventar/templates/upload.html +++ b/inventar/templates/upload.html @@ -10,10 +10,7 @@
    {% for code in data %} -
  • {{ code }} - {% endfor %} - {% for code in data %} -
  • +
  • {{ code }}
  • {% endfor %}
{% endif %} -- cgit v1.2.3