From bda8e58829b6d11ac12e3b31868fcc48e88f1c82 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Tue, 15 Nov 2011 14:27:21 +0530 Subject: ENH: Giving user feedback when code is submitted. Added JS code to tell the user that the system is checking the answer and also disable any further submitting at this time. --- templates/exam/question.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'templates/exam') diff --git a/templates/exam/question.html b/templates/exam/question.html index b70d97b..8d4c0bd 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -1,10 +1,25 @@

{{ question.summary }}

+ +

{{ question.description }}

{% if error_message %}

ERROR:

{{ error_message }}
{% endif %} -
+

+ + {% csrf_token %}