X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/cb4f846ea59604ea425b6726ce27ac7cd6d383d5..24da082f86cbb6dae0d55f66c42e4e2c55ac66d1:/forum/skins/default/templates/question_edit.html?ds=sidebyside diff --git a/forum/skins/default/templates/question_edit.html b/forum/skins/default/templates/question_edit.html index 12163be..4177074 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,11 @@ {% block content %}
- {% trans "Edit question" %} [{% trans "back" %}] + {% block edittype %}{% trans "Edit question" %}{% endblock %} [{% trans "back" %}]
-
+
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
@@ -140,6 +140,15 @@
{{ form.summary.help_text }}
+ + {% if form.recaptcha %} +
+ {{ form.recaptcha.errors }} + {{ form.recaptcha }} +
+
+ {% endif %} +