From 87862b8c8d7822a4578b5cb5f413bedb37454bd2 Mon Sep 17 00:00:00 2001 From: jayparikh111 Date: Wed, 29 Feb 2012 13:14:00 +0530 Subject: minor changes for rendering question(s) --- testapp/templates/exam/grade_user.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testapp/templates/exam/grade_user.html') diff --git a/testapp/templates/exam/grade_user.html b/testapp/templates/exam/grade_user.html index 5d3aa58..b7970e8 100644 --- a/testapp/templates/exam/grade_user.html +++ b/testapp/templates/exam/grade_user.html @@ -56,7 +56,7 @@ Start time: {{ paper.start_time }}
{% csrf_token %} {% for question, answers in paper.get_question_answers.items %}

- Question: {{ question.id }}. {{ question.summary }} + Question: {{ question.id }}. {{ question.summary }} (Points: {{ question.points }})

- (Points: {{ question.points }})

+ {% if question.type == "mcq" %}

Choices: {% for option in question.options.strip.splitlines %} {{option}}, {% endfor %} -- cgit