X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..1003e4c1d2842b351ea3e168d8ac6c20d83ba442:/forum/skins/default/templates/answer_edit.html diff --git a/forum/skins/default/templates/answer_edit.html b/forum/skins/default/templates/answer_edit.html index 2d736f3..a3be73f 100644 --- a/forum/skins/default/templates/answer_edit.html +++ b/forum/skins/default/templates/answer_edit.html @@ -4,22 +4,17 @@ {% load extra_tags %} {% block title %}{% spaceless %}{% trans "Edit answer" %}{% endspaceless %}{% endblock %} {% block forejs %} - - - + {% endblock %} @@ -49,10 +64,11 @@
-
+ + {% csrf_token %}
{% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %} -
+
{{ revision_form.revision }}
@@ -60,7 +76,14 @@ {{ form.text }}
{% trans "toggle preview" %}
+ title="{% trans "Toggle the real time Markdown editor preview" %}">{% trans "toggle preview" %} + + {% if settings.WIKI_ON %} +
+ {{ form.wiki }} {{ form.wiki.label_tag }} +
+ {% endif %} +
@@ -69,8 +92,16 @@
{{ form.summary.help_text }}
- - + + {% if form.recaptcha %} +
+ {{ form.recaptcha.errors }} + {{ form.recaptcha }} +
+ {% endif %} + + +