From 428c2f36e5699ecda6ecb179ab3d87c373984998 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 14 Nov 2011 00:00:33 +0530 Subject: ENH: Prettifying error message and show username. --- templates/exam/question.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/exam') diff --git a/templates/exam/question.html b/templates/exam/question.html index 4cfda27..b70d97b 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -2,7 +2,7 @@
{{ question.description }}
-{% if error_message %}{{ error_message }}
{% endif %} +{% if error_message %}ERROR:
{{ error_message }}{% endif %} -
You have {{quiz.questions_left}} question(s) left.
+{{ user.first_name.title }} {{ user.last_name.title }}, you have {{ quiz.questions_left }} question(s) left.