{% load notes %}
{% if questions %} These quiz questions have been randomly generated from the keywords and definitions associated with this note. Refresh to get different questions. {% else %} Not enough keywords with definitions have been supplied, so we can't generate any quiz questions. Provide at least 4 key terms with their definitions, and we'll create questions based on them. {% endif %}
{% for question in questions %}
Correct
Incorrect
{{ forloop.counter }}. {{ question.question_text }}
{% if question.question_type == 'MultipleChoiceQuestion' %} {% for choice in question.choices %}
{% endfor %} {% endif %} {% if question.question_type == 'TrueFalseQuestion' %}
{% endif %} {% if question.question_type == 'MatchingQuestion' %} {% for row in question.rows %}
{% with left_row=row.0 %}
{% endwith %}
{% with right_row=row.1 %}
{{ forloop.counter0|ordinal_letter }}. {{ right_row }}
{% endwith %}
{% endfor %} {% endif %}
{% endfor %}