diff options
author | Prabhu Ramachandran | 2011-11-09 03:05:03 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-09 03:05:03 +0530 |
commit | 6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513 (patch) | |
tree | de2f47ad2dd6d7f7f1d26ecb33e3f210a96371cc /templates/exam/quit.html | |
parent | 4694d217dd7d5659afdad7ba5937adb85c15371c (diff) | |
download | online_test-6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513.tar.gz online_test-6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513.tar.bz2 online_test-6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513.zip |
ENH: Saving answers and added quit page/button.
Cleaned up the models so the answers submitted are all saved. Also
added a quit button to each question page so a user can easily quit the
exam in order that another may start.
Diffstat (limited to 'templates/exam/quit.html')
-rw-r--r-- | templates/exam/quit.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/exam/quit.html b/templates/exam/quit.html new file mode 100644 index 0000000..ea4b8df --- /dev/null +++ b/templates/exam/quit.html @@ -0,0 +1,8 @@ +<p>Your current answers are saved.</p> +<p> Are you sure you wish to quit the exam?</p> + +<form action="/exam/complete/" method="post"> +{% csrf_token %} +<input type="submit" name="yes" value="Yes!" /> +<input type="submit" name="no" value="No!" /> +</form> |