{% load custom_tags %}
| Question No. | Question | Options | Question Type | Created At |
|---|---|---|---|---|
| Question {{ question.question_number }}: {% if question.exam_name.all %} {% for exam in question.exam_name.all %} {{ exam.name }}{% if not forloop.last %} - {% endif %} {% endfor %} {% else %} None {% endif %} |
{% if question.question_sub_type in 'simple_type true_and_false_type fill_in_the_blank_type' %}
{{ question.question_part|default:"No question text available" }}
{% elif question.question_sub_type == 'r_and_a_type' %}
{{ question.question_part_first|default:"No question text available" }}
Reason: {{ question.reason|default:"No reason available" }} Assertion: {{ question.assertion|default:"No assertion available" }} {% elif question.question_sub_type == 'list_type_1' %} First Part: {{ question.question_part_first|default:"No question text available" }}
|
(a) {{ question.answer_option_a|default:"Option A not available" }} (b) {{ question.answer_option_b|default:"Option B not available" }} (c) {{ question.answer_option_c|default:"Option C not available" }} (d) {{ question.answer_option_d|default:"Option D not available" }} |
{{ question.get_question_sub_type_display|default:"Unknown" }} | {{ question.created_at|date:"M d, Y, H:i" }} |
| No questions found. | ||||