{% extends "base.html" %} {% load i18n extra_tags extra_filters %} {% block title %}{% spaceless %}{% trans "Ask a question" %}{% endspaceless %}{% endblock %} {% block forejs %} {% endblock %} {% block content %}
{% trans "Ask a question" %}
{% if not request.user.is_authenticated %}
{% trans "You are welcome to start submitting your question anonymously." %}

{% blocktrans %} After submiting your question, you will be redirected to the login/signup page. Your question will be saved in the current session and will be published after you login with your existing account, or signup for a new account{% endblocktrans %}{% if "ask"|contained_in:settings.REQUIRE_EMAIL_VALIDATION_TO %} {% trans "and validate your email." %}{% else %}.{% endif %}

{% else %} {% 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." %}
{% endif %} {% endif %}

{{ form.title }} {{ form.title.errors }}
{{ form.title.help_text }}
{{ form.text }} {{ form.text.errors }}
{% if settings.WIKI_ON %} {% endif %}
{% trans "toggle preview" %} {{ form.wiki }} {{ form.wiki.label_tag }}
{{ form.tags.label_tag }}: {% trans "(required)" %}
{{ form.tags }} {{ form.tags.errors }}

{{ form.tags.help_text }}

{% if not request.user.is_authenticated %} {% else %} {% endif %}
{% endblock %} {% block sidebar %} {% include "question_edit_tips.html" %} {% endblock %} {% block endjs %} {% endblock %}