{% extends 'ddm_core/page_with_form.html' %} {% block page_title %}Create {{ question_type }}{% endblock %} {% block main_heading %}Create New {{ question_type }}{% endblock %} {% block submit_label %}Create Question{% endblock %} {% block main_form %}
{% csrf_token %} {{ form.media }}

Internal Organisation

{% for field in form %} {% if field.name in "name,variable_name,blueprint" %}

{{ field.label_tag }} {{ field.errors }} {{ field }} {{ field.help_text }}

{% endif %} {% endfor %}

Display Options

{% for field in form %} {% if field.name in "page,index,text" %}

{{ field.label_tag }} {{ field.errors }} {{ field }} {{ field.help_text }}

{% endif %} {% endfor %}
{% if question_type != "Text Block" %}

Validation

{% for field in form %} {% if field.name in "required,input_type,max_input_length,display" %}

{{ field.label_tag }} {{ field.errors }} {{ field }} {{ field.help_text }}

{% endif %} {% endfor %}
{% endif %} {% if question_type != "Text Block" and question_type != "single_choice" %}

Item Configuration

{% for field in form %} {% if field.name in "randomize_items,show_scale_headings,multi_item_response" %}

{{ field.label_tag }} {{ field.errors }} {{ field }} {{ field.help_text }}

{% endif %} {% endfor %}
{% endif %} {% block cancel %}

Back

{% endblock %}
{% endblock %} {% block breadcrumbs %} Projects / "{{ project.name|truncatechars:15 }}" Project / Questionnaire / Create Question {% endblock %}