{% extends "base.html" %} {% block title %}Result · {{ exam.title }}{% endblock %} {% block content %}
My exams

{{ exam.title }}

Submitted {{ att.submitted_at|dt }}

{% if exam.show_result and pct is not none %}
{{ '%.0f'|format(pct) }}%

{{ att.score|num }} out of {{ att.total|num }} marks

{{ 'Passed' if pct >= exam.pass_mark else 'Below the pass mark (' ~ (exam.pass_mark|num) ~ '%)' }} {% else %}
✓

Your answers have been submitted. Your teacher will share the result.

{% endif %}

Back to my exams

{% if rows %}

Review

{% for r in rows %}
{{ loop.index }}.{{ r.q.text }}{% if r.q.image %}
{% endif %}
Your answer: {{ r.given_text }}
{% if not r.ok %}
Correct answer: {{ r.correct_text }}
{% endif %}
{% endfor %}
{% endif %} {% endblock %}