fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fix for image info on main.
[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
3e71000
..
2ac0ec2
100755
(executable)
--- a/
apps/suggest/templates/publishing_suggest.html
+++ b/
apps/suggest/templates/publishing_suggest.html
@@
-1,8
+1,12
@@
{% load i18n %}
{% load i18n %}
+{% load honeypot %}
+{% load ssi_csrf_token from ssify %}
+
<h1>{% trans "Didn't find a book? Make a suggestion." %}</h1>
<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">
-{% csrf_token %}
+<form id='suggest-publishing-form' action="{% url 'suggest_publishing' %}" method="post" accept-charset="utf-8" class="cuteform">
+{% ssi_csrf_token %}
+{% render_honeypot_field %}
<ol>
<li><span class="error">{{ form.contact.errors }}</span><label for="id_contact">{{ form.contact.label }}</label> {{ form.contact }}</li>
<ol>
<li><span class="error">{{ form.contact.errors }}</span><label for="id_contact">{{ form.contact.label }}</label> {{ form.contact }}</li>