{% load bee_django_course_simple_filter %}
{% for question in user_part.part.question_set.all %}
{{ question.title }}
{% for option in question.option_set.all %} {% get_user_answer_option_id request.user question.id as answer_option_id %}
{% endfor %}
{% endfor %}
{% if user_part.is_pass %} {% if user_part.part.has_answer %} 答对了{{ user_part.question_correct_count }}道题,获得{{ user_part.prize_coin }}{{ context_coin_name }} {% if user_part.part.award_name %}
{% if user_part.question_correct_count == user_part.part.question_set.count %} 恭喜您答对本关题目,您将获得由西南香局提供的奖品{{ user_part.part.award_name }}, 奖品会在您课程完结后一周内寄出 {% else %} 很遗憾,您并未获得本次奖品,再接再厉哟 {% endif %} {% endif %} {% else %} 该小节已通过 {% endif %} {% endif %}