summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
authorJay Parikh2012-06-25 17:39:30 +0530
committerJay Parikh2012-06-25 17:39:30 +0530
commit7f0d00746a9ea009179c2e3879fa1bf8354a5853 (patch)
tree66853561857146e740eb9f48f400cdb3fd79a2a9 /testapp
parent1712353f3646e24de7ec359bdbb9c9a3012b1597 (diff)
downloadonline_test-7f0d00746a9ea009179c2e3879fa1bf8354a5853.tar.gz
online_test-7f0d00746a9ea009179c2e3879fa1bf8354a5853.tar.bz2
online_test-7f0d00746a9ea009179c2e3879fa1bf8354a5853.zip
minor change (quit exam)
Diffstat (limited to 'testapp')
-rw-r--r--testapp/templates/exam/quit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/templates/exam/quit.html b/testapp/templates/exam/quit.html
index 3f7630d..fee11ed 100644
--- a/testapp/templates/exam/quit.html
+++ b/testapp/templates/exam/quit.html
@@ -9,6 +9,6 @@
<center><h4> Be sure, as you won't be able to restart this exam.</h4></center>
<form action="{{URL_ROOT}}/exam/complete/{{ id }}/" method="post">
{% csrf_token %}
- <center><button class="btn" type="submit" name="yes">Yes!</button>&nbsp;<button class="btn" type="submit" name="no">No!</button></center>
+ <center><button class="btn" type="submit" name="yes">Yes!</button>&nbsp;<button class="btn" type="button" name="no" onClick="window.location='{{ URL_ROOT }}/exam/start/{{ id }}/'">No!</button></center>
</form>
{% endblock content %}