summaryrefslogtreecommitdiffstats
path: root/inventar/templates/upload.html
blob: 29a2dbeba585f854082ab3689b457058e08b8529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "base.html" %}
{% load i18n %}

{% block content %}
	{% if user.is_authenticated %}
		<h2>Upload new Parent Tree:</h2>

		<form enctype="multipart/form-data" method="post" action="/upload/">{% csrf_token %}
			{{form}}
		<input type="submit" value="Submit" />
		<ul class="path">
		{% for code in data %}
			<li>{{ code }}</li>
		{% endfor %}
		</ul>
	{% endif %}
{% endblock %}