fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for OPDS search
[wolnelektury.git]
/
apps
/
suggest
/
templates
/
publishing_suggest.html
diff --git
a/apps/suggest/templates/publishing_suggest.html
b/apps/suggest/templates/publishing_suggest.html
index
a6ed283
..
ea1d926
100755
(executable)
--- a/
apps/suggest/templates/publishing_suggest.html
+++ b/
apps/suggest/templates/publishing_suggest.html
@@
-1,14
+1,19
@@
{% load i18n %}
{% load i18n %}
-<h2>{% trans "Didn't find a book? Make a suggestion." %}</h2>
+{% load honeypot %}
+
+<h1>{% trans "Didn't find a book? Make a suggestion." %}</h1>
+
<form id='suggest-publishing-form' action="{% url suggest_publishing %}" method="post" accept-charset="utf-8" class="cuteform">
<form id='suggest-publishing-form' action="{% url suggest_publishing %}" method="post" accept-charset="utf-8" class="cuteform">
+{% csrf_token %}
+{% render_honeypot_field %}
<ol>
<ol>
- <li><span class="error">{{
pubsuggest_form.contact.errors }}</span><label for="id_contact">{{ pubsuggest_form.contact.label }}</label> {{ pubsuggest_
form.contact }}</li>
+ <li><span class="error">{{
form.contact.errors }}</span><label for="id_contact">{{ form.contact.label }}</label> {{
form.contact }}</li>
<li>{% trans "I'd like to find in WolneLektury.pl these…" %}</li>
<li>{% trans "I'd like to find in WolneLektury.pl these…" %}</li>
- <li><span class="error">{{
pubsuggest_form.books.errors }}</span><label for="id_books">{{ pubsuggest_form.books.label }}:</label> {{ pubsuggest_
form.books }}</li>
+ <li><span class="error">{{
form.books.errors }}</span><label for="id_books">{{ form.books.label }}:</label> {{
form.books }}</li>
- <li><span class="error">{{
pubsuggest_form.audiobooks.errors }}</span><label for="id_audiobooks">{{ pubsuggest_form.audiobooks.label }}:</label> {{ pubsuggest_
form.audiobooks }}</li>
+ <li><span class="error">{{
form.audiobooks.errors }}</span><label for="id_audiobooks">{{ form.audiobooks.label }}:</label> {{
form.audiobooks }}</li>
<li><input type="submit" value="{% trans "Send report" %}"/></li>
</ol>
<li><input type="submit" value="{% trans "Send report" %}"/></li>
</ol>