{% extends "base.html" %} {% load richtext %} {% block title %}Practice - {{ course.title|exam_marks }}{% endblock %} {% block content %} ← Back to course

Practice: {{ course.title|exam_marks }}

{% if submitted %}

Your Results

{% if mcq_total %}

{{ correct }} / {{ mcq_total }} multiple-choice questions correct.

{% endif %}
{% else %}

Answer the questions below, then submit them all at once.

{% endif %}
{% csrf_token %} {% for q in questions %}
Q{{ forloop.counter }}. {{ q.text|richtext }}
{% for choice in q.choices.all %} {% endfor %} {% if submitted %} {% if q.result %} {% else %}

Not answered. The correct option is marked above.

{% endif %} {% endif %}
{% empty %}

No practice questions yet.

{% endfor %} {% if questions and not submitted %} {% endif %}
{% endblock %}