diff options
author | jayparikh111 | 2012-02-16 12:51:32 +0530 |
---|---|---|
committer | jayparikh111 | 2012-02-16 12:51:32 +0530 |
commit | d18df85469fc993520ee397f4a28b422c550408a (patch) | |
tree | 18d46dfeaf9bc5454cac35a32ef20f8d3c58ac5b /testapp/templates | |
parent | 8c548960349a01393141845d0ae1e728e9130b7c (diff) | |
download | online_test-d18df85469fc993520ee397f4a28b422c550408a.tar.gz online_test-d18df85469fc993520ee397f4a28b422c550408a.tar.bz2 online_test-d18df85469fc993520ee397f4a28b422c550408a.zip |
Form to Add New Quiz
Diffstat (limited to 'testapp/templates')
-rw-r--r-- | testapp/templates/exam/add_quiz.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html index d568b30..a412ecc 100644 --- a/testapp/templates/exam/add_quiz.html +++ b/testapp/templates/exam/add_quiz.html @@ -6,5 +6,22 @@ Add Quiz {% endblock %} {% block manage %} -<p>Add Quiz + +<style type='text/css'> + +table th, table td { + padding: 10px 10px 9px; + line-height: 18px; + text-align: left; +} +</style> +<form name=frm action="" method="post"> +{% csrf_token %} +<center> +<table class=span1> +{{ form.as_table }} +</table> +</center> +<center><button class="btn" type="submit" name="save">Save</button></center> +</form> {% endblock %} |