From 9acff5f2cf9f9ae3d2fc097e1fcd84712d3199d0 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Thu, 23 Feb 2012 16:30:36 +0530 Subject: more changes to edit multiple questions at a time --- testapp/templates/exam/edit_question.html | 29 +++++++++++++++++++++++++++++ testapp/templates/exam/showquestions.html | 18 ++++++++++++++++-- testapp/templates/manage.html | 6 +++++- 3 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 testapp/templates/exam/edit_question.html (limited to 'testapp/templates') 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 %} + + +
+{% csrf_token %} +{% for form in forms %} + +{{ form.as_table }} +
+
+{% endfor %} +
+
+
+{% endblock %} diff --git a/testapp/templates/exam/showquestions.html b/testapp/templates/exam/showquestions.html index 994ca26..edcba6f 100644 --- a/testapp/templates/exam/showquestions.html +++ b/testapp/templates/exam/showquestions.html @@ -7,7 +7,7 @@ List of Questions {% block script %} {% endblock %} @@ -30,6 +42,8 @@ function my_confirm(frm) {% endfor %}
   - +   + + {% endblock %} diff --git a/testapp/templates/manage.html b/testapp/templates/manage.html index c7c6fa1..10842c3 100644 --- a/testapp/templates/manage.html +++ b/testapp/templates/manage.html @@ -13,7 +13,7 @@
-
+

{% block subtitle %} {% endblock %}


{% block manage %} {% endblock %} @@ -22,6 +22,10 @@ .content .span4 { min-height: 500px; } + .textarea + { + width: 10px; + }
-- cgit