Zapomniany plik.
[redakcja.git] / project / templates / explorer / file_upload.html
diff --git a/project/templates/explorer/file_upload.html b/project/templates/explorer/file_upload.html
new file mode 100755 (executable)
index 0000000..7c52626
--- /dev/null
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+
+{% block maincontent %}
+
+
+
+
+
+<h2>Dodawanie nowego utworu:</h2>
+
+{% if other_errors %}
+<div class="errorlist">
+{% for error in other_errors %}
+<p>{{ error }}</p>
+{% endfor %}
+</div>
+{% endif %}
+<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
+    {{ form.as_p }}
+    <p><button type="submit">Dodaj książkę</button></p>
+</form>
+{% endblock maincontent %}