{% extends "base.html" %} {% load i18n %} {% 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 "login to post question info" %}

{% else %} {% ifequal settings.EMAIL_VALIDATION 'on' %} {% if not request.user.email_isvalid %}
{% blocktrans with request.user.email as email %}must have valid {{email}} to post{% endblocktrans %}
{% endif %} {% endifequal %} {% endif %}


{{ form.title }} {{ form.title.errors }}

{{ form.title.help_text }}

{{ form.text }}
{% 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 %}