fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed form action in book_detail template.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_detail.html
diff --git
a/wolnelektury/templates/catalogue/book_detail.html
b/wolnelektury/templates/catalogue/book_detail.html
index
3d44955
..
32d50fb
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_detail.html
+++ b/
wolnelektury/templates/catalogue/book_detail.html
@@
-7,7
+7,7
@@
{% block body %}
<h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
{% block body %}
<h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
- <form action="{% url
main_page
%}" 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>