From f5ef323d03dd80e1ae00f306ac44f5ee3efb3e7c Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 1 Jul 2013 11:56:32 +0530 Subject: edited JS to give a msg when the answer is correct --- testapp/templates/exam/question.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'testapp/templates/exam') diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index 1d801b0..1282130 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -78,6 +78,11 @@ function update_time() {{ question.description|safe }} {% if error_message %}
ERROR:
{{ error_message }}
{% endif %} + {% if success_msg %} + + {% endif %}

{% csrf_token %} @@ -87,9 +92,9 @@ function update_time() {% endfor %} {% else %} - + - +