diff options
author | prathamesh | 2015-04-07 14:33:46 +0530 |
---|---|---|
committer | prathamesh | 2015-04-07 14:33:46 +0530 |
commit | 7eaeb90e0db758894c2cebf8e062d65c1faa2a6d (patch) | |
tree | 3e2b2f7f8f9d40ad1ed2171d3c868538a4d30162 /testapp/exam/templates | |
parent | d0b6afb0d73c8ed32d6ca1151f5e3c6b216c50b7 (diff) | |
download | online_test-7eaeb90e0db758894c2cebf8e062d65c1faa2a6d.tar.gz online_test-7eaeb90e0db758894c2cebf8e062d65c1faa2a6d.tar.bz2 online_test-7eaeb90e0db758894c2cebf8e062d65c1faa2a6d.zip |
Changed variable name
Diffstat (limited to 'testapp/exam/templates')
-rw-r--r-- | testapp/exam/templates/exam/intro.html | 2 | ||||
-rw-r--r-- | testapp/exam/templates/exam/quit.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testapp/exam/templates/exam/intro.html b/testapp/exam/templates/exam/intro.html index 58068ed..592937a 100644 --- a/testapp/exam/templates/exam/intro.html +++ b/testapp/exam/templates/exam/intro.html @@ -27,7 +27,7 @@ </ul> <p> We hope you enjoy taking this exam !!!</p> - <form action="{{URL_ROOT}}/exam/start/{{ attempt_no }}/{{ paper_id }}/" method="post" align="center"> + <form action="{{URL_ROOT}}/exam/start/{{ attempt_num }}/{{ paper_id }}/" method="post" align="center"> {% csrf_token %} <center><button class="btn" type="submit" name="start">Start Exam!</button></center> </form> diff --git a/testapp/exam/templates/exam/quit.html b/testapp/exam/templates/exam/quit.html index 2c347cb..f49b62f 100644 --- a/testapp/exam/templates/exam/quit.html +++ b/testapp/exam/templates/exam/quit.html @@ -7,8 +7,8 @@ <center><h4>Your current answers are saved.</h4></center> <center><h4> Are you sure you wish to quit the exam?</h4></center> <center><h4> Be sure, as you won't be able to restart this exam.</h4></center> - <form action="{{URL_ROOT}}/exam/complete/{{ attempt_no }}/{{ id }}/" method="post"> + <form action="{{URL_ROOT}}/exam/complete/{{ attempt_num }}/{{ id }}/" method="post"> {% csrf_token %} - <center><button class="btn" type="submit" name="yes">Yes!</button> <button class="btn" type="button" name="no" onClick="window.location='{{ URL_ROOT }}/exam/start/{{ attempt_no }}/{{ id }}/'">No!</button></center> + <center><button class="btn" type="submit" name="yes">Yes!</button> <button class="btn" type="button" name="no" onClick="window.location='{{ URL_ROOT }}/exam/start/{{ attempt_num }}/{{ id }}/'">No!</button></center> </form> {% endblock content %} |