X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c07bef148aa59e35fe84e0c0cc8acff2cb5c6ee5..5737916435bfeaec27dfd64af918bd8c7ae6ac0f:/forum/skins/default/templates/question_edit.html diff --git a/forum/skins/default/templates/question_edit.html b/forum/skins/default/templates/question_edit.html index 69bf688..4ee8060 100644 --- a/forum/skins/default/templates/question_edit.html +++ b/forum/skins/default/templates/question_edit.html @@ -26,7 +26,7 @@ }); //Tags autocomplete action - $("#id_tags").autocomplete("/matching_tags/", { + $("#id_tags").autocomplete("{% url matching_tags %}", { matchContains: true, max: 20, multiple: true, @@ -41,11 +41,11 @@ return row.n; }*/ 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]; } }); @@ -88,11 +88,12 @@ {% block content %}