{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {% block title %} {{title}} {% endblock %} {% block help_content %} {% comment %}

{% trans "About Quiz/QuizItem" %}

By Quiz Item, you can create a miscellaneous quiz-question. This quiz-question can be of, basically three types: short response, single-choice and multiple-choice.

By Quiz, you can build a quiz having list of quiz-items. Quiz-Items can be added to quiz in two ways:

  1. By editing, Quiz node (via collection-list).
  2. By using Quiz-Item button corresponding to the Quiz node (i.e. this will automatically add the quiz-item node to your quiz node).

{% endcomment %} {% endblock %} {% block style %} {{ block.super }} .quizitem_act{ margin-left:1.5em; } {% endblock %} {% block meta_content %} {% check_is_gstaff group_id request.user as is_gstaff %}

{% trans "Quiz" %}

{% if is_gstaff %} Create New Quiz
Create New Question {% endif %} {% endblock %} {% block breadcrumb %} {% endblock breadcrumb %} {% block body_content %} {% check_is_gstaff groupid request.user as is_gstaff %} {% get_group_name groupid as group_name_tag %}
All Quizzes

{% for node in quiz_nodes %}
  • {% include 'ndf/simple_card.html' with resource=node no_footer=True no_description=True url_name="quiz_details" first_arg=group_name_tag second_arg=node.pk %}
  • {% empty %}
    {% trans 'Currently there is no Quiz.' %}
    {% endfor %}
    All Questions

    {% for node in quiz_item_nodes %}
    {{forloop.counter}}.{{node.name}}
    {% if is_gstaff or node.created_by == request.user.id %} {% trans 'Edit' %} {% endif %} {% trans 'Created by: ' %} {{node.created_by|get_username}}
    {% empty %}
    {% trans 'Currently there is no Question.' %}
    {% endfor %}
    {% comment %}
    {% trans "Quiz" %}
    {% if is_gstaff %}
    {% endif %}
    {% trans "Quiz Items" %}
    {% for node in quiz_item_nodes %}
    {% empty %}
    {% trans "This group doesn't have any quiz-items." %}
    {% endfor %}
    {% endcomment %} {% endblock %}