{% if question.question_type == 'mcq' %}
{% with question.options|json_decode as option %}
{% for opt in option %}
{% if forloop.counter|stringformat:"s" == question.correct_answer|stringformat:"s" %}
{{ opt|safe }}
{% else %}
{{ opt|safe }}
{% endif %}
{% endfor %}
{% endwith %}
{% else %}
{{ question.correct_answer }}
{% endif %}
{% endfor %}
{% if Question_list.has_previous %}
« firstprevious
{% endif %}
Page {{ Question_list.number }} of {{ Question_list.paginator.num_pages }}.
{% if Question_list.has_next %}
nextlast »
{% endif %}