diff options
| author | Adrien Dorsaz <adrien@adorsaz.ch> | 2013-07-30 14:07:05 +0200 |
|---|---|---|
| committer | Adrien Dorsaz <adrien@adorsaz.ch> | 2013-07-30 14:07:05 +0200 |
| commit | 6a42acaa114548e052f5cd9c5835b4c2354d5e9d (patch) | |
| tree | 76672fcd867d871e2ef4155aefce7047eecffe23 /papillon/templates/vote.html | |
| parent | 46e9a6df67e8ff0d49e830642fa2762c521355fa (diff) | |
| download | Papillon-6a42acaa114548e052f5cd9c5835b4c2354d5e9d.tar.bz2 Papillon-6a42acaa114548e052f5cd9c5835b4c2354d5e9d.zip | |
Update url function in templates to django 1.5
Diffstat (limited to 'papillon/templates/vote.html')
| -rw-r--r-- | papillon/templates/vote.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/papillon/templates/vote.html b/papillon/templates/vote.html index 5c20e5c..5d88af2 100644 --- a/papillon/templates/vote.html +++ b/papillon/templates/vote.html @@ -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%} |
