diff options
author | Prabhu Ramachandran | 2011-11-08 15:29:48 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-08 15:29:48 +0530 |
commit | bed96635b1b0aac8548b6df85e96ee256e5e5bcb (patch) | |
tree | 682d25a0a5a0c7b8c923a1fa2433b2b35c969114 /templates | |
parent | 0b842b5e1e0eb7aadb5c87a3993cdcac94b34323 (diff) | |
download | online_test-bed96635b1b0aac8548b6df85e96ee256e5e5bcb.tar.gz online_test-bed96635b1b0aac8548b6df85e96ee256e5e5bcb.tar.bz2 online_test-bed96635b1b0aac8548b6df85e96ee256e5e5bcb.zip |
BUG: Fixing various issues
- Modified the question model to use description instead of question.
- Once a user completes the exam it would not allow another one to
start.
- Improved the error messages displayed on errors.
- If there is a mistake, it doesn't wipe out the old attempt so student
can modify what they submitted last.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/exam/question.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html index 05e80a8..896a8aa 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -1,6 +1,6 @@ <h2> {{ question.summary }} </h2> -<p>{{ question.question }} </p> +<p>{{ question.description }} </p> {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} @@ -8,7 +8,7 @@ {% csrf_token %} <textarea rows="20" cols="100" name="answer"> -# Enter your answer here. +{% if last_attempt %}{{last_attempt}}{% else %}# Enter your answer here.{% endif %} </textarea> <br/> @@ -17,4 +17,4 @@ <input type="submit" name="skip" value="Skip question" /> </form> -<p> You have {{quiz.questions_left}} question(s) left. </p>
\ No newline at end of file +<p> You have {{quiz.questions_left}} question(s) left. </p> |