{% extends "base_template.html" %} {% block title %}{{ _('Questions') }} — {{ survey.title }}{% endblock %} {% block content %}
← {{ _('All surveys') }}

{{ _('Questions of %(t)s', t=survey.title) }}

{{ _('Build the questionnaire. Preview it at') }} /survey/{{ survey.slug }}.

{% with messages = get_flashed_messages(with_categories=true) %}{% for c, m in messages %}
{{ m }}
{% endfor %}{% endwith %}
{{ _('Add a question') }}
{% include "survey/admin/_qform.html" %}
{% for q in survey.questions %}
{{ loop.index }}. {{ _(q.type) }}
{% with q=q %}{% include "survey/admin/_qform.html" %}{% endwith %}
{% else %}

{{ _('No questions yet. Add the first one above.') }}

{% endfor %} {% endblock %} {% block scripts %} {% endblock %}