fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wydzielanie utworów. Closes #79 Closes #98
[redakcja.git]
/
project
/
templates
/
explorer
/
file_list.html
diff --git
a/project/templates/explorer/file_list.html
b/project/templates/explorer/file_list.html
index
a36d353
..
48be7f5
100644
(file)
--- a/
project/templates/explorer/file_list.html
+++ b/
project/templates/explorer/file_list.html
@@
-38,8
+38,9
@@
$(function() {
</p>
</form>
<div id="file-list">
</p>
</form>
<div id="file-list">
+ {% load explorer_tags %}
{% for file in files %}
{% for file in files %}
- <p title="{{file
}}"><a href="{% url editor_view file %}">{{ fil
e }}</a></p>
+ <p title="{{file
|bookname}}"><a href="{% url editor_view file %}">{{ file|booknam
e }}</a></p>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
</div>
@@
-48,7
+49,9
@@
$(function() {
<div class="upload-file-widget">
<h2>Dodaj nowy utwór</h2>
<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
<div class="upload-file-widget">
<h2>Dodaj nowy utwór</h2>
<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
- {{ bookform.as_p }}
+ <p><label>{{bookform.file.label}}: {{ bookform.file }}</label></p>
+ <p><label>{{bookform.bookname.label}}: {{bookform.bookname}}</label></p>
+ <p><label>{{bookform.autoxml}} {{bookform.autoxml.label}}</label></p>
<p><button type="submit">Dodaj książkę</button></p>
</form>
</div>
<p><button type="submit">Dodaj książkę</button></p>
</form>
</div>