summaryrefslogtreecommitdiff
path: root/templates/exam/quit.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-17 17:35:30 +0530
committerPrabhu Ramachandran2011-11-17 17:35:30 +0530
commit9f674808a5681a0380531ff62079b94874641c1e (patch)
tree63fdb2f431d9fc68705e1170cc4e536a36c18169 /templates/exam/quit.html
parent78e18eae416a37fdb2e27d4dde7ed9675692ac7d (diff)
downloadonline_test-9f674808a5681a0380531ff62079b94874641c1e.tar.gz
online_test-9f674808a5681a0380531ff62079b94874641c1e.tar.bz2
online_test-9f674808a5681a0380531ff62079b94874641c1e.zip
BUG/ENH: Cleaning up page templates and fixing bug
If you complete the quiz it was going into a redirect loop, this is fixed. Also cleaned up all the page templates with proper block contents.
Diffstat (limited to 'templates/exam/quit.html')
-rw-r--r--templates/exam/quit.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/exam/quit.html b/templates/exam/quit.html
index ea4b8df..a9d3515 100644
--- a/templates/exam/quit.html
+++ b/templates/exam/quit.html
@@ -1,3 +1,8 @@
+{% extends "base.html" %}
+
+{% block title %}Quit exam {% endblock %}
+
+{% block content %}
<p>Your current answers are saved.</p>
<p> Are you sure you wish to quit the exam?</p>
@@ -6,3 +11,4 @@
<input type="submit" name="yes" value="Yes!" />
<input type="submit" name="no" value="No!" />
</form>
+{% endblock content %} \ No newline at end of file