X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0a9d4cebb2f8d1b6573ecae577f41d460a40ffc3..0df1608e9f603e6f40b306a3aff20e52e7318d5a:/forum/skins/default/templates/ask.html diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index 557b072..ec5b1a8 100644 --- a/forum/skins/default/templates/ask.html +++ b/forum/skins/default/templates/ask.html @@ -5,6 +5,7 @@ {% block forejs %} + @@ -68,6 +95,7 @@
+ {% csrf_token %} {% if not request.user.is_authenticated %}
{% trans "You are welcome to start submitting your question anonymously." %} @@ -102,6 +130,7 @@ {% trans "toggle preview" %} + {% if settings.WIKI_ON %} {{ form.wiki }} {{ form.wiki.label_tag }} @@ -121,10 +150,19 @@

{{ form.tags.help_text }}

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