X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/3401cb76521d238ddec0e5daed3f63d6e6dee34f..31f67094578292b834139406a9aaea3a15123218:/forum/skins/default/templates/ask.html diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index 3f74b44..0c7b255 100644 --- a/forum/skins/default/templates/ask.html +++ b/forum/skins/default/templates/ask.html @@ -5,6 +5,7 @@ {% block forejs %} + {% endblock %} {% block content %}
- {% trans "Ask a question" %} + {% trans "Ask a question" %}
- {% if not request.user.is_authenticated %} + {% csrf_token %} + {% if not request.user.is_authenticated %}
{% trans "You are welcome to start submitting your question anonymously." %}

{% blocktrans %} @@ -103,10 +99,10 @@ {% if not request.user.email_valid_and_can_ask %}

{% blocktrans %}Remember, your question will not be published until you validate your email.{% endblocktrans %} - {% trans "Send me a validation link." %} + {% trans "Send me a validation link." %}
{% endif %} - {% endif %} + {% endif %}

{{ form.title }} {{ form.title.errors }} @@ -144,6 +140,15 @@

{{ form.tags.help_text }}

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