{% user_can_see course_page user 'SECURITY_QUIZZES' as can_see_quizzes %}
{% if can_see_quizzes %}
{% if course_page.navbar %}
{% include 'lxp/snippets/activity_sidenav.html' %}
{% endif %}
{% if quiz.description %}
{{ quiz.description | richtext }}
{% elif quiz.summary %}
{{ quiz.summary | richtext }}
{% endif %}
{% with blocks=self.content %}
{% for block in blocks %}
{% if block.is_item %}
{% with 'lxp/quiz_blocks/'|add:block.block_type|add:'.html' as template %}
{% include template %}
{% endwith %}
{% else %}
{% with 'lxp/activity_blocks/'|add:block.block_type|add:'.html' as template %}
{% include template %}
{% endwith %}
{% endif %}
{% endfor %}
{% endwith %}