{# vim: set ts=2 et sts=2 sw=2: #} {% extends "questions/includes/question_editing_frame.html" %} {% set title = _('Ask a Question') %} {% set crumbs = [(url('questions.questions'), _('Forum')), (None, _('Ask a New Question'))] %} {% block headline %}{{ _('Ask a New Question') }}{% endblock %} {% block product %} {% if not current_product %}

{{ _('Which Firefox product would you like to post a question about?') }}

{% else %} {{ super() }} {% endif %} {% endblock %} {% block product_changer %} {% if current_product %} {{ _('change') }} {% endif %} {% endblock %} {% block category %} {% if current_product and not current_category and current_product.categories %}

{{ _('Which of these categories best describes your problem?') }}

{% else %} {{ super() }} {% endif %} {% endblock %} {% block category_changer %} {% if not (current_product and not current_category) %} {{ _('change') }} {% endif %} {% endblock %} {% block articles_and_search_results %} {% set form_header_set = False %} {% if (current_articles or current_html) and not search_results and not form %} {% if current_html %}

{{ current_html|safe }}

{% else %}

{{ _('We have lots of helpful articles on {category} and hundreds of questions in our database. Try one of the following:')|fe(category=current_category.name) }}

{% endif %} {% if current_articles %} {% endif %} {% if not form and not deadend %} {% set form_header_set = True %}

{{ _('or, summarize your question in a sentence:') }}

{% endif %} {% endif %} {% if current_category and ((current_articles or search_results or current_html) or not (current_articles and search_results and current_html)) and not form and not deadend %} {% if not form_header_set %}

{{ _('Summarize your question in a sentence:') }}

{% endif %} {% endif %} {% if tried_search and not form %} {% if search_results %}

{{ _("We've found some articles and previously answered questions that may solve your issue:") }}

{% set button_text = _('None of these solve my problem') %} {% else %}

{{ _('This question has not been asked before.') }}

{% set button_text = _('Provide more details') %} {% endif %}
{% endif %} {% endblock %} {% block major_detail_instructions %}

{{ _('Fill in the details of your question.') }}

{% endblock %} {% block submit_button_value %}{{ _('Post Question') }}{% endblock %}