.
This commit is contained in:
@@ -6,6 +6,7 @@ CID: {{cid}}
|
|||||||
<h2>Exam: {{exam.name}}</h2>
|
<h2>Exam: {{exam.name}}</h2>
|
||||||
|
|
||||||
<div><p>Questions</p></div>
|
<div><p>Questions</p></div>
|
||||||
|
{{answer_count}} out of {exam_count} questions answered.
|
||||||
<ul class="question-list">
|
<ul class="question-list">
|
||||||
{% for question, answer in question_answer_tuples %}
|
{% for question, answer in question_answer_tuples %}
|
||||||
<li class="">{{forloop.counter}}: {{answer.answer}}</li>
|
<li class="">{{forloop.counter}}: {{answer.answer}}</li>
|
||||||
|
|||||||
+3
-1
@@ -263,7 +263,9 @@ def exam_finish(request, pk, cid):
|
|||||||
"sbas/exam_finish.html",
|
"sbas/exam_finish.html",
|
||||||
{
|
{
|
||||||
"exam": exam,
|
"exam": exam,
|
||||||
"question_answer_tuples": question_answer_tuples
|
"question_answer_tuples": question_answer_tuples,
|
||||||
|
"answer_count": answers.length,
|
||||||
|
"exam_length": exam.length,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user