X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/cb4f846ea59604ea425b6726ce27ac7cd6d383d5..fa5ec9e2a70331da5da884a13ff5b70bdc2eada6:/forum/skins/default/templates/ask.html diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index b027ce4..04e959e 100644 --- a/forum/skins/default/templates/ask.html +++ b/forum/skins/default/templates/ask.html @@ -36,9 +36,13 @@ $("#id_tags").autocomplete("/matching_tags/", { minChars: 1, matchContains: true, - max: 20, + max: 10, multiple: true, multipleSeparator: " ", + highlightItem: true, + scroll: true, + scrollHeight: 300, + /* formatItem: function(row, i, max) { @@ -50,11 +54,11 @@ */ formatItem: function(row, i, max, value) { - return row[1].split(".")[0] + " (" + row[1].split(".")[1] + ")"; + return row[1] + " (" + row[2] + ")"; }, formatResult: function(row, i, max, value){ - return row[0]; + return row[1]; } }); @@ -144,6 +148,15 @@
{{ form.tags.help_text }}
+ + {% if form.captcha %} +