summaryrefslogtreecommitdiff
path: root/papillon/templates/vote.html
diff options
context:
space:
mode:
Diffstat (limited to 'papillon/templates/vote.html')
-rw-r--r--papillon/templates/vote.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/papillon/templates/vote.html b/papillon/templates/vote.html
index 5c20e5c..204f553 100644
--- a/papillon/templates/vote.html
+++ b/papillon/templates/vote.html
@@ -3,7 +3,7 @@
{% load get_range %}
{% block fullscript %}
-<script type="text/javascript" src="{%url admin_i18n%}"></script>
+<script type="text/javascript" src="{% url 'admin_i18n' %}"></script>
<script type="text/javascript" src="{{admin_url}}js/core.js"></script>
<script type="text/javascript" src="{{admin_url}}js/admin/RelatedObjectLookups.js"></script>
{{ form_comment.media }}
@@ -119,7 +119,7 @@
<hr class='spacer'/>
</form>
{%if poll.opened_admin%}
- <p><a href="{% url edit_choices_user poll.base_url %}">{%trans "Add a new choice to this poll?"%}</a></p>{%endif%}
+ <p><a href="{% url 'edit_choices_user' poll.base_url %}">{%trans "Add a new choice to this poll?"%}</a></p>{%endif%}
<div class='footnote'>
{%if hide_vote%}<p>{% trans "You have already vote? You are enough wise not to be influenced by other votes? You can display result by clicking" %} <a href='?display_result=1'>{% trans "here" %}</a>.</p>{%else%}
<p>{% trans "Remain informed of poll evolution:" %} <a href="../../feeds/poll/{{poll.base_url}}">{%trans "syndication"%}</a></p>{%endif%}