{% extends "wagtailadmin/base.html" %} {% block titletag %}{{ current_year }} Report{% endblock %} {% block extra_css %} {{ block.super }} {% endblock %} { block extra_} {% block content %} {% include "wagtailadmin/shared/header.html" with title="Quiz report" icon="tick" %}

Summary for Quiz {{ quiz.title }} ({{ pk }})

Distribution of total scores - all attempts

{% for score in score_bins_all %} {% endfor %}

Distribution of total scores - best attempts

{% for score in score_bins_best %} {% endfor %}

Summaries for individual items

{% for item in quiz.content %} {% if item.block_type in "item_multichoice,item_truefalse" %}

{{ item.value.question_text }}

{% for answer in item.value.answers %} {% get_2d_item dictio=answer_counts key1=item.id key2=forloop.counter as answer_counter %} {% endfor %}
{% endif %} {% endfor %} {% endblock %}