fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added urls.
[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
a9b59e4
..
f44a105
100644
(file)
--- a/
project/templates/explorer/file_list.html
+++ b/
project/templates/explorer/file_list.html
@@
-82,7
+82,7
@@
$(function() {
<div class="upload-file-widget">
<h2>Dodaj nowy utwór</h2>
<div class="upload-file-widget">
<h2>Dodaj nowy utwór</h2>
-<form action="
/api/documents
" method="POST" enctype="multipart/form-data">
+<form action="
{% url file_upload %}
" method="POST" enctype="multipart/form-data">
{{ bookform }}
<p><button type="submit">Dodaj książkę</button></p>
</form>
{{ bookform }}
<p><button type="submit">Dodaj książkę</button></p>
</form>