fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added short_html method to Book model and removed (no longer used) book template...
[wolnelektury.git]
/
templates
/
catalogue
/
book_list.html
diff --git
a/templates/catalogue/book_list.html
b/templates/catalogue/book_list.html
index
f6c3b75
..
f4f575c
100644
(file)
--- a/
templates/catalogue/book_list.html
+++ b/
templates/catalogue/book_list.html
@@
-16,7
+16,7
@@
{% block body %}
<h1>Alfabetyczny spis utworów</h1>
{% block body %}
<h1>Alfabetyczny spis utworów</h1>
- <form action="
.
" method="GET" accept-charset="utf-8" id="search-form">
+ <form action="
{% url search %}
" method="GET" accept-charset="utf-8" id="search-form">
<p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej</a></p>
</form>
<p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej</a></p>
</form>