X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1f39bd871ce30406dc771a6faffba68db635d2ed..1a65a8d09e07f68e9dde662430719cfa84a0fd77:/project/templates/explorer/file_upload.html?ds=sidebyside

diff --git a/project/templates/explorer/file_upload.html b/project/templates/explorer/file_upload.html
index 7c52626d..1deedac4 100755
--- a/project/templates/explorer/file_upload.html
+++ b/project/templates/explorer/file_upload.html
@@ -1,22 +1,17 @@
 {% extends "base.html" %}
 
 {% block maincontent %}
-
-
-
-
-
 <h2>Dodawanie nowego utworu:</h2>
 
-{% if other_errors %}
+{% if errors %}
 <div class="errorlist">
-{% for error in other_errors %}
-<p>{{ error }}</p>
+{% for error in errors %}
+<p>{{ error }}: {{ error.errors }}</p>
 {% endfor %}
 </div>
 {% endif %}
 <form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
-    {{ form.as_p }}
+    {{ bookform.as_p }}
     <p><button type="submit">Dodaj książkę</button></p>
 </form>
 {% endblock maincontent %}