fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix in librarian
[wolnelektury.git]
/
apps
/
polls
/
templates
/
polls
/
tags
/
poll.html
diff --git
a/apps/polls/templates/polls/tags/poll.html
b/apps/polls/templates/polls/tags/poll.html
index
8566a9d
..
4c4d2b5
100644
(file)
--- a/
apps/polls/templates/polls/tags/poll.html
+++ b/
apps/polls/templates/polls/tags/poll.html
@@
-1,4
+1,5
@@
{% load i18n %}
{% load i18n %}
+{% load ssi_csrf_token from ssify %}
{% if poll %}
{% if voted_already %}
{% if poll %}
{% if voted_already %}
@@
-18,7
+19,7
@@
{% else %}
<div class="poll">
<p>{{poll.question}}</p>
{% else %}
<div class="poll">
<p>{{poll.question}}</p>
- <form action="{{poll.get_absolute_url}}" method="post">{% csrf_token %}
+ <form action="{{poll.get_absolute_url}}" method="post">{%
ssi_
csrf_token %}
{{ form.vote }}
<input type="submit" value="{% trans "Submit" %}" />
</form>
{{ form.vote }}
<input type="submit" value="{% trans "Submit" %}" />
</form>