diff options
author | hardythe1 | 2012-04-02 18:04:43 +0530 |
---|---|---|
committer | hardythe1 | 2012-04-02 18:04:43 +0530 |
commit | c0fcc1181e209192f6d11f2ca521e55e33a4ead7 (patch) | |
tree | 576b100053a4ef35d4e686ce198f2882d98efbb2 /testapp/templates/exam/editquestionpaper.html | |
parent | 64b38d3365f1d65132942fce6e29fed7da076bba (diff) | |
download | online_test-c0fcc1181e209192f6d11f2ca521e55e33a4ead7.tar.gz online_test-c0fcc1181e209192f6d11f2ca521e55e33a4ead7.tar.bz2 online_test-c0fcc1181e209192f6d11f2ca521e55e33a4ead7.zip |
Question Paper generator changes
Diffstat (limited to 'testapp/templates/exam/editquestionpaper.html')
-rw-r--r-- | testapp/templates/exam/editquestionpaper.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testapp/templates/exam/editquestionpaper.html b/testapp/templates/exam/editquestionpaper.html new file mode 100644 index 0000000..68a9c22 --- /dev/null +++ b/testapp/templates/exam/editquestionpaper.html @@ -0,0 +1,21 @@ +{% extends "manage.html" %} + + +{% block subtitle %}Questions in "{{ papers.quiz.description }}"{% endblock %} + +{% block script %} +<script src="{{ URL_ROOT }}/static/exam/js/show_question.js"></script> +{% endblock %} + +{% block manage %} +<form name=frm action="" method="post"> +{% csrf_token %} + +{% for i in papers.questions %} +<input type="checkbox" name="papers" value="{{ i.id }}"> <a href="{{URL_ROOT}}/exam/manage/editquestionpaper/{{ i.id }}">{{ i.summary}}</a><br> +{% endfor %} +<br> +<button class="btn" type="submit" name=add value=add>Add Question</button> +<button class="btn" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</button> +</form> +{% endblock %} |