fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie restartowania serwera do fabfile.
[redakcja.git]
/
project
/
templates
/
explorer
/
file_upload.html
diff --git
a/project/templates/explorer/file_upload.html
b/project/templates/explorer/file_upload.html
index
7c52626
..
1deedac
100755
(executable)
--- a/
project/templates/explorer/file_upload.html
+++ b/
project/templates/explorer/file_upload.html
@@
-1,22
+1,17
@@
{% extends "base.html" %}
{% block maincontent %}
{% extends "base.html" %}
{% block maincontent %}
-
-
-
-
-
<h2>Dodawanie nowego utworu:</h2>
<h2>Dodawanie nowego utworu:</h2>
-{% if
other_
errors %}
+{% if errors %}
<div class="errorlist">
<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">
{% endfor %}
</div>
{% endif %}
<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
- {{ form.as_p }}
+ {{
book
form.as_p }}
<p><button type="submit">Dodaj książkę</button></p>
</form>
{% endblock maincontent %}
<p><button type="submit">Dodaj książkę</button></p>
</form>
{% endblock maincontent %}