{% import "macros.html" as macros %}
{% csrf_token %}
{% if not request.user.is_authenticated() %}

{% trans %}You are welcome to start submitting your question anonymously. When you submit the post, you will be redirected to the login/signup page. Your question will be saved in the current session and will be published after you log in. Login/signup process is very simple. Login takes about 30 seconds, initial signup takes a minute or less.{% endtrans %}

{% else %} {% if settings.EMAIL_VALIDATION %} {% if not request.user.email_isvalid %}

{% trans email=request.user.email %}Looks like your email address, %(email)s has not yet been validated. To post messages you must verify your email, please see more details here.
You can submit your question now and validate email after that. Your question will saved as pending meanwhile.{% endtrans %}

{% endif %} {% endif %} {% endif %}
{{ form.title.errors }}
{{ form.title.help_text }}
{{ macros.edit_post( form, post_type = 'question', edit_title = False, mandatory_tags = mandatory_tags, use_category_selector = (settings.TAG_SOURCE == 'category-tree'), editor_type = settings.EDITOR_TYPE, user = request.user ) }} {{ form.group_id }}
{% if settings.WIKI_ON %} {{ macros.checkbox_in_div(form.wiki) }} {% endif %} {% if settings.ALLOW_ASK_ANONYMOUSLY %} {{ macros.checkbox_in_div(form.ask_anonymously) }} {% endif %} {% if settings.GROUPS_ENABLED and request.user.is_authenticated() and request.user.can_make_group_private_posts() %} {{ macros.checkbox_in_div(form.post_privately) }} {% endif %}
{% if not request.user.is_authenticated() %} {% else %} {% endif %}