X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/fa5ec9e2a70331da5da884a13ff5b70bdc2eada6..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum/skins/default/templates/ask.html diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index 04e959e..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 %} @@ -107,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 }} @@ -149,10 +141,10 @@ {{ form.tags.help_text }}

- {% if form.captcha %} + {% if form.recaptcha %}
- {{ form.captcha.errors }} - {{ form.captcha }} + {{ form.recaptcha.errors }} + {{ form.recaptcha }}
{% endif %}