{% load ndf_tags %} {% load re_format from simple_filters %} {% load i18n %} {% get_group_name groupid as group_name_tag %} {% get_user_quiz_resp node request.user as total_and_curr_ans_dict %} {% with node.options|re_format as node_options %} {% with node.correct_answer|re_format as node_correct_answer %}
Question {% check_is_gstaff groupid request.user as is_gstaff %} {% if is_gstaff %} Edit {% endif %}
{{node.content}}
{% if node.quiz_type == "Single-Choice" %} {% for each_opt in node_options %} {{each_opt}} {% else %} class="choice" id="{{each_opt}}">{{each_opt}} {% endif %}
{% endfor %} {% comment %}
{% if node.quizitem_check_answer %} {% endif %} {% if node.quizitem_show_correct_ans %} {% endif %}
{% endcomment %} {% elif node.quiz_type == "Multiple-Choice" %} {% for each_opt in node_options %} {{each_opt}} {% else %} class="choice" id="{{each_opt}}">{{each_opt}} {% endif %}
{% endfor %} {% elif node.quiz_type == "Short-Response" %} {% endif %}
{% if node.quizitem_check_answer and node.quiz_type != "Short-Response" %} {% endif %} {% if node.quizitem_show_correct_ans %} {% endif %} {% comment %} {% if not node.quizitem_show_correct_ans %} {% endif %} {% endcomment %}
{% endwith %} {% endwith %}