{% load markup %}
{% load getresponse %}
{% load static from staticfiles %}
{{ block.description|markdown }}

{% if request.user.is_anonymous %}
  <p class="warning">You must be logged in to view this content</p>
{% else %}

{% for question in block.question_set.all %}
  {% include 'quizblock/question.html' %}
{% endfor %}

{% if block.rhetorical %}
  <script src="{% static 'quizblock/js/quizshow.js' %}"></script>
{% endif %}

{% endif %}
