{% extends 'ddm/admin/generic/page_with_form.html' %}
{% block page_title %}Edit {{ question_type }}{% endblock %}
{% block main_heading %}Edit {{ question_type }} "{{ object.name }}"{% endblock %}
{% block main_form_header %}Question Configuration{% endblock %}
{% block main_form %}
{% endblock %}
{% block main_bottom %}
{% if object.question_type != "open" and object.question_type != "transition" %}
{% for item in object.questionitem_set.all %}
{% if forloop.first %}
Label |
Index |
Value |
Randomize |
{% endif %}
{{ item.label }} |
{{ item.index }} |
{{ item.value }} |
{{ item.randomize }} |
{% empty %}
No items defined. |
{% endfor %}
Edit Items
{% endif %}
{% if object.question_type == "semantic_diff" or object.question_type == "matrix" %}
{% for point in object.scalepoint_set.all %}
{% if forloop.first %}
Label |
Index |
Value |
{% endif %}
{{ point.label }} |
{{ point.index }} |
{{ point.value }} |
{% empty %}
No scale points defined. |
{% endfor %}
Edit Scale Points
{% endif %}
{% endblock %}
{% block breadcrumbs %}
Projects /
"{{ project.name|truncatechars:15 }}" Project /
Questionnaire /
Edit Question
{% endblock %}