{{ render_title(quiz.title, author_is_admin=is_admin(author)) }}
{% if quiz.description %} {% if maturity_hidden(maturity, user) %} {% set _level = maturity %}{% include "_maturity_gate.html" %} {% else %}{{ render_content(quiz.description, author_is_admin=is_admin(author)) }}
{% endif %}
{% endif %}
{{ quiz.question_count }}Questions
{{ quiz.total_points }}Points
{% if quiz.time_limit_seconds %}{{ format_duration(quiz.time_limit_seconds) }}{% else %}None{% endif %}Time limit
{% if quiz.pass_percent %}{{ quiz.pass_percent }}%{% else %}-{% endif %}Pass mark
{{ quiz.attempt_count }}Attempts
{% if quiz.status == 'published' %}
{% if viewer_state == 'in_progress' and viewer_attempt_uid %}
Resume attempt
{% else %}
{% endif %}
{% if viewer_state == 'done' and viewer_attempt_uid %}
My results
{% endif %}
{% endif %}
{% if quiz.viewer_can_edit %}
Edit
{% endif %}
Export JSON
{% set _type = "quiz" %}{% set _uid = quiz.uid %}{% set _my_vote = my_vote %}{% set _count = star_count %}{% set _btn_class = "btn btn-secondary" %}{% include "_star_vote.html" %}
{% set _type = "quiz" %}{% set _uid = quiz.uid %}{% set _bookmarked = bookmarked %}{% include "_bookmark_button.html" %}
{% set _type = "quiz" %}{% set _uid = quiz.uid %}{% set _owner = quiz.user_uid %}{% set _owner_name = (author or {}).get('username', '') %}{% set _class = "btn btn-secondary" %}{% include "_report_button.html" %}
{% if quiz.viewer_owns or is_admin(user) %}
{% endif %}
{% set _type = "quiz" %}{% set _uid = quiz.uid %}{% set _reactions = reactions %}{% include "_reaction_bar.html" %}