{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {% block title %}{{ title }}{% endblock %} {% block head %} {% endblock %} {% block meta_content %} {% get_group_name groupid as group_name_tag %}

A {% trans "Quiz" %} {% trans "is a sequenced collection of" %} {% trans "quiz items" %}. {% trans "A quiz-item can be any of the three types" %}: {% trans "short response, single-choice" %} {% trans "and" %} {% trans "multiple-choice" %}. {% trans "submit response" %} {% trans "and" %} {% trans "match the following" %} {% trans "types will be implemented very soon." %}

{% trans "You can build a quiz in two ways:" %}

  1. {% trans "By editing, Quiz node (via collection-list)." %}
  2. {% trans "By using 'Quiz-Item' button corresponding to the Quiz." %}

{% if user.is_authenticated %}

{% trans "+ Add" %} {{title}} {% trans "+ Add" %} {{title}} {% trans "Item" %}

{% endif %} {% endblock %} {% block body_content %}

{{ node.member_of_names_list|join:', ' }} {% trans "posted on" %} {{ node.created_at|date:"j F Y" }} {% trans "by " %} {{ node.user_details_dict.created_by }}

{% trans "Contributors: " %}{{ node.user_details_dict.contributors|join:', ' }}

{% trans "Last update: " %}{{ node.last_update|date:"j F Y" }}

Version{{ node.version_dict|length|pluralize }}: {% for seq_no, version_no in node.version_dict.items reversed %} + {% endfor %}

{% if node.tags|length > 0 %}

Tag{{ node.tags|length|pluralize }}: {% for tag in node.tags %} {{tag}} {% endfor %}

{% endif %}
{{node.html_content|safe}} {% if node.options %} {% for option in node.options %}

{{forloop.counter}}. {{option}}

{% endfor %} {% endif %}

{% trans "Answer" %}

{% for ca in node.correct_answer %} {% if node.options %} {% if not forloop.last %} {{ca}},  {% else %} {{ca}} {% endif %} {% else %} {{ca|linebreaksbr}} {% endif %} {% endfor %}
{% endblock %}