{{ quiz.title }}
{% for question in quiz.questions %}

{{ frappe.utils.md_to_html(question.question) }}

{% if question.multiple %} {{ _("Choose all answers that apply:") }} {% else %} {{ _("Choose 1 answer:") }} {% endif %}
{% set options = [question.option_1, question.option_2, question.option_3, question.option_4] %} {% for option in options %} {% if option %}
{% set explanation = question['explanation_' + loop.index | string] %} {% if explanation %} {{ explanation }} {% endif %}
{% endif %} {% endfor %}
{% endfor %}
{{ _("Try Again") }}