summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/quit.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/exam/quit.html')
-rw-r--r--testapp/templates/exam/quit.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testapp/templates/exam/quit.html b/testapp/templates/exam/quit.html
new file mode 100644
index 0000000..37b5c08
--- /dev/null
+++ b/testapp/templates/exam/quit.html
@@ -0,0 +1,14 @@
+{% 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>
+
+<form action="{{URL_ROOT}}/exam/complete/" method="post">
+{% csrf_token %}
+<input type="submit" name="yes" value="Yes!" />
+<input type="submit" name="no" value="No!" />
+</form>
+{% endblock content %} \ No newline at end of file