{% extends "aa_recruitment/base.html" %} {% load i18n %} {% block recruitment_content %}

{{ app_form.title }}

{% if app_form.is_active %} {% translate "Active" %} {% else %} {% translate "Inactive" %} {% endif %}

{{ app_form.description|truncatewords:30 }}

{% translate "Questionnaire Questions" %}
{{ questions|length }} {% translate "questions" %}
{% if questions %}
{% for q in questions %} {% endfor %}
{% translate "Order" %} {% translate "Question Text" %} {% translate "Type" %} {% translate "Required" %} {% translate "Options / Choices" %} {% translate "Actions" %}
#{{ q.order }}
{{ q.question_text }}
{% if q.help_text %} {{ q.help_text }} {% endif %}
{{ q.get_question_type_display }} {% if q.is_required %} {% translate "Required" %} {% else %} {% translate "Optional" %} {% endif %} {% if q.choices %} {{ q.choices }} {% else %} - {% endif %}
{% csrf_token %}
{% else %}

{% translate "No questions have been added to this application form questionnaire yet." %}

{% translate "Add First Question" %}
{% endif %}
{% endblock recruitment_content %}