summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/messages
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-04 11:55:03 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-04 12:57:51 +0100
commit1ab795172026bc585b890f8e53f56b68f6541fe6 (patch)
tree15acfb56077c60a946f1060e69cb979ee05d2a0b /hyperkitty/templates/messages
parent238d19f7e09bfa754f4b91622f1c34d08f2ef26d (diff)
downloadhyperkitty-1ab795172026bc585b890f8e53f56b68f6541fe6.tar.gz
hyperkitty-1ab795172026bc585b890f8e53f56b68f6541fe6.tar.xz
hyperkitty-1ab795172026bc585b890f8e53f56b68f6541fe6.zip
Rethink urls to be more hierarchic and less RPC
Diffstat (limited to 'hyperkitty/templates/messages')
-rw-r--r--hyperkitty/templates/messages/like_form.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/hyperkitty/templates/messages/like_form.html b/hyperkitty/templates/messages/like_form.html
index ba78ede..3b99987 100644
--- a/hyperkitty/templates/messages/like_form.html
+++ b/hyperkitty/templates/messages/like_form.html
@@ -1,6 +1,5 @@
<form method="post" class="likeform"
- action="{% url message_vote mlist_fqdn=list_address %}">
- <input type="hidden" name="hashid" value="{{ hashid }}" />
+ action="{% url message_vote mlist_fqdn=list_address, hashid=hashid %}">
{% csrf_token %}
<li class="likestatus {{ object.likestatus }}">
+<span class="likecount">{{ object.likes }}</span>/-<span class="dislikecount">{{ object.dislikes }}</span>