{% extends "base.html" %} {% block extra_head %} {% endblock %} {% block content %}
← Back to the quiz {% if quiz_error %} {% endif %} {% if quiz.status == 'published' %}
This quiz is published and permanently frozen. Its questions, options and settings can never be edited again, so every score stays comparable. The only remaining operation is deleting it.
{% endif %}

{{ render_title(quiz.title) }}

{% if quiz.status == 'draft' %}

Quiz settings

{% set _quiz = quiz %}{% include "_quiz_settings_fields.html" %}

Add a question

{% endif %}

Questions ({{ questions|length }})

{% set uids = questions | map(attribute='uid') | list %}
{% for question in questions %}
{% set _question = question %}{% set _mode = "builder" %}{% include "_quiz_question.html" %} {% if quiz.viewer_can_edit %}
{% if not loop.first %}
{% endif %} {% if not loop.last %}
{% endif %}
{% endif %}
{% else %}
No questions yet. Add the first one above.
{% endfor %}
{% if quiz.status == 'draft' %}

Publish

{% if validation_errors %} {% else %}

This quiz is ready to publish.

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