summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/manual_questionpaper.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/exam/manual_questionpaper.html')
-rw-r--r--testapp/templates/exam/manual_questionpaper.html16
1 files changed, 2 insertions, 14 deletions
diff --git a/testapp/templates/exam/manual_questionpaper.html b/testapp/templates/exam/manual_questionpaper.html
index 47df1ed..1a1f95c 100644
--- a/testapp/templates/exam/manual_questionpaper.html
+++ b/testapp/templates/exam/manual_questionpaper.html
@@ -17,23 +17,11 @@ select
<script src="/static/taggit_autocomplete_modified/jquery.min.js" type="text/javascript"></script>
<script src="/static/taggit_autocomplete_modified/jquery.autocomplete.js" type="text/javascript"></script>
-<script>
-function load_data()
-{
- var value = document.getElementById('mode').value;
- if (value == 'Automatic')
- {
- window.location = "{{ URL_ROOT }}/exam/manage/designquestionpaper/automatic";
- }
- else if(value == "Manual")
- {
- window.location = "{{ URL_ROOT }}/exam/manage/designquestionpaper/manual";
- }
-}
-</script>
+<script src="{{ URL_ROOT }}/static/exam/js/add_questionpaper.js"></script>
{% endblock %}
{% block manage %}
+<input type=hidden id="url_root" value={{ URL_ROOT }}>
<center><b>Manual mode to design the Question Paper</center><br>
<form action="" method="post" name=frm>