{% extends "ndf/node_details_base.html" %} {% load ndf_tags %} {% load i18n %} {% block title %} {{title}} {{node.name}}{% endblock %} {% block url %}{% url 'create_edit' groupid node %}{% endblock %} {% block head %} {% endblock %} {% block style %} {{ block.super }} .questions_table{ width: 150%; } {% endblock %} {% block collection_content %} {% check_is_gstaff groupid request.user as is_gstaff %} {% if is_gstaff or request.user.id == node.created_by %} Edit this Quiz Add Question {% endif %} {% endblock %} {% block body_content %} {% get_group_name groupid as group_name_tag %} {% check_is_gstaff groupid request.user as gstaff_access %}
{% trans "Description :" %}
{% firstof node.content_org "No Description added yet!" %}
{% trans "Tags :" %}
{% for each_tag in node.tags %} {{each_tag}}{% if not forloop.last %},{% endif %} {% empty %} {% trans "No tags have been added yet!" %} {% endfor %}
{% if quiz_item_nodes %} {% comment %} {% endcomment %} {% if request.user.id == node.created_by or gstaff_access %} {% endif %} {% for each_question in quiz_item_nodes %} {% if each_question.quiz_type == "Short-Response" %} {% else %} {% endif %} {% comment %} {% endcomment %} {% if request.user.id == node.created_by or gstaff_access %} {% endif %} {% endfor %}
{% trans "Sr. No " %} {% trans "Question" %} {% trans "Type" %} {% trans "Options" %}{% trans "Add to 'Question Library' " %}{% trans "Edit " %}
{{forloop.counter}} {{each_question.content_org}} {{each_question.quiz_type}}{% trans "Not Applicable" %} {% for each_opt in each_question.options %} {{each_opt}}{% if not forloop.last %},{% endif %} {% endfor %} {% trans "Edit" %}
{% else %} {% trans "No Questions have been added yet!" %} {% endif %}
{% endblock %}