fix in librarian
[wolnelektury.git] / apps / polls / templates / polls / tags / poll.html
index 8566a9d..4c4d2b5 100644 (file)
@@ -1,4 +1,5 @@
 {% load i18n %}
+{% load ssi_csrf_token from ssify %}
 
 {% if poll %}
     {% if voted_already %}
@@ -18,7 +19,7 @@
     {% 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>