{% extends "scheduling/base.html" %} {% block main_id %}schedule-session{% endblock %} {% block content %}

{{ s.title }}

Open until .

{% if intro %}

{{ intro }}

{% endif %} {% if errors %} {% endif %}
{% for q in questions %} {% set err = errors.get(q.name) %}
{{ q.text }}{% if q.required %} *{% endif %} {% if q.type in ('radio', 'likert') %}
{% if q.type == 'likert' and q.min_label %}{% endif %} {% for opt in q.options %} {% endfor %} {% if q.type == 'likert' and q.max_label %}{% endif %}
{% elif q.type == 'multiselect' %}
{% for opt in q.options %} {% endfor %}
{% elif q.type == 'slider' %}
{% if q.min_label %}{{ q.min_label }}{% endif %} {% if q.max_label %}{{ q.max_label }}{% endif %} {{ q.value if q.value is not none else 'not set' }}
{% elif q.type == 'number' %} {% elif q.type == 'text' %} {% if q.multiline %} {% else %} {% endif %} {% endif %} {% if err %}

{{ err }}

{% endif %}
{% endfor %}
{% endblock %}