X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c07bef148aa59e35fe84e0c0cc8acff2cb5c6ee5..f73c15a3bd47e9f7fe3a29645f968528fb6415e4:/forum/skins/default/templates/ask.html?ds=sidebyside diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index 4e64fba..fa38b76 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]; } }); @@ -124,6 +128,7 @@ {% trans "toggle preview" %} + {% if settings.WIKI_ON %} {{ form.wiki }} {{ form.wiki.label_tag }} @@ -143,6 +148,15 @@

{{ form.tags.help_text }}

+ + {% if form.recaptcha %} +
+ {{ form.recaptcha.errors }} + {{ form.recaptcha }} +
+
+ {% endif %} + {% if not request.user.is_authenticated %} {% else %}