summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exam/views.py1
-rw-r--r--templates/exam/question.html6
2 files changed, 5 insertions, 2 deletions
diff --git a/exam/views.py b/exam/views.py
index 2437fba..f30398a 100644
--- a/exam/views.py
+++ b/exam/views.py
@@ -184,6 +184,7 @@ def check(request, q_id):
context = {'question': question, 'error_message': err_msg,
'paper': paper, 'last_attempt': answer,
+ 'quiz_name': paper.quiz.description,
'time_left': time_left}
return render_to_response('exam/question.html', context,
diff --git a/templates/exam/question.html b/templates/exam/question.html
index 9ea27c4..fe27e8f 100644
--- a/templates/exam/question.html
+++ b/templates/exam/question.html
@@ -48,9 +48,11 @@ function update_time()
{% block onload %} onload="update_time()" {% endblock %}
{% block content %}
-<h2> {{ question.summary }} </h2>
+<h3> {{ question.summary }} </h3>
-<p>{{ question.description }} </p>
+<p>{{ question.description }}
+<br/>
+(Marks: {{ question.points }}) </p>
{% if error_message %}<p><strong>ERROR:</strong></p><pre>{{ error_message }}</pre>{% endif %}