{{ 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 %}
{{ frappe.utils.md_to_html(option) }}
{% set explanation = question['explanation_' + loop.index | string] %} {% if explanation %} {{ explanation }} {% endif %}
{% endif %} {% endfor %}
{% endfor %}
Try Again