{% extends "base.html" %} {% block title %}Result · {{ exam.title }}{% endblock %} {% block content %}
Submitted {{ att.submitted_at|dt }}
{% if exam.show_result and pct is not none %}{{ 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 %}