summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/messages/like_form.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-27 19:02:32 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-27 23:38:36 +0100
commit07c1a4a2b4211c1975f9d641401636a8cbc35f9c (patch)
treec18e9a619552eb9a777a27b126ca9ca62624b25c /hyperkitty/templates/messages/like_form.html
parent628d011c865da76054d6b72ddf3f0f5e7341f649 (diff)
downloadhyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.tar.gz
hyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.tar.xz
hyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.zip
Switch to the new-style "url" tag
Required by Django >= 1.5 https://docs.djangoproject.com/en/1.5/releases/1.5/
Diffstat (limited to 'hyperkitty/templates/messages/like_form.html')
-rw-r--r--hyperkitty/templates/messages/like_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templates/messages/like_form.html b/hyperkitty/templates/messages/like_form.html
index 867a8a4..11f5b58 100644
--- a/hyperkitty/templates/messages/like_form.html
+++ b/hyperkitty/templates/messages/like_form.html
@@ -1,5 +1,5 @@
<form method="post" class="likeform"
- action="{% url message_vote mlist_fqdn=mlist.name, message_id_hash=message_id_hash %}">
+ action="{% url 'message_vote' mlist_fqdn=mlist.name message_id_hash=message_id_hash %}">
{% csrf_token %}
<span class="likestatus {{ object.likestatus }}">+{{ object.likes }}/-{{ object.dislikes }}</span>
{% if object.myvote == 1 %}