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/question.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/question.html')
-rw-r--r-- | templates/exam/question.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html index 896a8aa..4cfda27 100644 --- a/templates/exam/question.html +++ b/templates/exam/question.html @@ -18,3 +18,9 @@ </form> <p> You have {{quiz.questions_left}} question(s) left. </p> + +<hr/> +<form action="/exam/quit/" method="post"> +{% csrf_token %} +<input type="submit" name="quit" value="Quit exam and logout" /> +</form> |