summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/add_question.html
diff options
context:
space:
mode:
authorjayparikh1112012-02-16 13:02:49 +0530
committerjayparikh1112012-02-16 13:02:49 +0530
commitc20539ed5f879c945cc89323e00daad96047d247 (patch)
tree928b82fef403682ebc12251865d47441bd57b41c /testapp/templates/exam/add_question.html
parentd18df85469fc993520ee397f4a28b422c550408a (diff)
downloadonline_test-c20539ed5f879c945cc89323e00daad96047d247.tar.gz
online_test-c20539ed5f879c945cc89323e00daad96047d247.tar.bz2
online_test-c20539ed5f879c945cc89323e00daad96047d247.zip
Form to add New Question
Diffstat (limited to 'testapp/templates/exam/add_question.html')
-rw-r--r--testapp/templates/exam/add_question.html21
1 files changed, 19 insertions, 2 deletions
diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html
index fb5d38b..a0ba14d 100644
--- a/testapp/templates/exam/add_question.html
+++ b/testapp/templates/exam/add_question.html
@@ -1,9 +1,26 @@
{% extends "manage.html" %}
-{% block subtitle %}
+{% block subtitle %}
Add Question
{% endblock %}
+
{% block manage %}
-<p>Add Question
+<style type="text/css">
+
+table th, table td {
+ padding: 10px 10px 9px;
+ line-height: 18px;
+ text-align: left;
+}
+</style>
+
+<form action="" method="post">
+{% csrf_token %}
+<center><table class=span1>
+{{ form.as_table }}
+</table>
+<center><button class="btn" type="submit" name="savequestion">Save</button>
+</form>
{% endblock %}
+