summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/edit_question.html
diff options
context:
space:
mode:
authorhardythe12012-02-23 16:30:36 +0530
committerhardythe12012-02-23 16:30:36 +0530
commit9acff5f2cf9f9ae3d2fc097e1fcd84712d3199d0 (patch)
treecac2d9feddb2c5d45f24a806275d23635b528fe9 /testapp/templates/exam/edit_question.html
parentf2d65592affd34bc60cf4a3a2c72de1d84c934c0 (diff)
downloadonline_test-9acff5f2cf9f9ae3d2fc097e1fcd84712d3199d0.tar.gz
online_test-9acff5f2cf9f9ae3d2fc097e1fcd84712d3199d0.tar.bz2
online_test-9acff5f2cf9f9ae3d2fc097e1fcd84712d3199d0.zip
more changes to edit multiple questions at a time
Diffstat (limited to 'testapp/templates/exam/edit_question.html')
-rw-r--r--testapp/templates/exam/edit_question.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/testapp/templates/exam/edit_question.html b/testapp/templates/exam/edit_question.html
new file mode 100644
index 0000000..04217ab
--- /dev/null
+++ b/testapp/templates/exam/edit_question.html
@@ -0,0 +1,29 @@
+{% extends "manage.html" %}
+
+{% block subtitle %}
+Edit Question
+{% endblock %}
+
+
+{% block manage %}
+<style type="text/css">
+
+table th, table td {
+ padding: 10px 10px 9px;
+ line-height: 18px solid;
+ text-align: left;
+}
+</style>
+
+<form action="{{URL_ROOT}}/exam/manage/editquestion/" method="post">
+{% csrf_token %}
+{% for form in forms %}
+<table>
+{{ form.as_table }}
+</table>
+<hr>
+{% endfor %}
+<center><button class="btn" type="submit" name="savequestion">Save</button>
+<button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/questions/");'>Cancel</button> </center>
+</form>
+{% endblock %}