X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..1003e4c1d2842b351ea3e168d8ac6c20d83ba442:/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 2fec6c0..b3fcd94 100644 --- a/forum/skins/default/templates/question_edit.html +++ b/forum/skins/default/templates/question_edit.html @@ -6,6 +6,7 @@ {% block forejs %} + {% endblock %} {% block content %}
- {% trans "Edit question" %} [{% trans "back" %}] + {% block edittype %}{% trans "Edit question" %}{% endblock %} [{% trans "back" %}]
-
+ + {% csrf_token %}
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
@@ -82,6 +118,7 @@ {% trans "toggle preview" %} + {% if settings.WIKI_ON %} {{ form.wiki }} {{ form.wiki.label_tag }} @@ -105,9 +142,18 @@
{{ form.summary.help_text }}
+ + {% if form.recaptcha %} +
+ {{ form.recaptcha.errors }} + {{ form.recaptcha }} +
+
+ {% endif %} +
- - + +