summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-06-19 18:28:04 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-06-19 18:28:04 +0200
commit6ada7fb3f6842998e274d06900d353142992c622 (patch)
tree183ced94d8f30f007b2672de0fc1e5133d51c945 /hyperkitty/templates/threads
parent72f2e6b28475b4615f4c3fabc3b5788b441a3c55 (diff)
downloadhyperkitty-6ada7fb3f6842998e274d06900d353142992c622.tar.gz
hyperkitty-6ada7fb3f6842998e274d06900d353142992c622.tar.xz
hyperkitty-6ada7fb3f6842998e274d06900d353142992c622.zip
Add an autocomplete widget on the add_tag box
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r--hyperkitty/templates/threads/right_col.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index c4fe161..5384d03 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -43,7 +43,9 @@
</div>
<div id="add-tag">
<form id="add-tag-form" name="addtag" method="post"
- action="{% url 'tags' mlist_fqdn=mlist.name threadid=threadid %}">
+ action="{% url 'tags' mlist_fqdn=mlist.name threadid=threadid %}"
+ data-autocompleteurl="{% url 'suggest_tags' mlist_fqdn=mlist.name threadid=threadid %}"
+ >
{% csrf_token %}
{{ addtag_form.as_p }}
</form>