diff options
author | hardythe1 | 2012-02-23 18:49:36 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-23 18:49:36 +0530 |
commit | dd3fd7b8c58d836baba24441e7d55c6d51858eab (patch) | |
tree | 7500dd2e40934f311a5f2cf505ad442946afee71 /testapp/templates/exam/edit_quiz.html | |
parent | 9acff5f2cf9f9ae3d2fc097e1fcd84712d3199d0 (diff) | |
download | online_test-dd3fd7b8c58d836baba24441e7d55c6d51858eab.tar.gz online_test-dd3fd7b8c58d836baba24441e7d55c6d51858eab.tar.bz2 online_test-dd3fd7b8c58d836baba24441e7d55c6d51858eab.zip |
View for Editing Quiz
Diffstat (limited to 'testapp/templates/exam/edit_quiz.html')
-rw-r--r-- | testapp/templates/exam/edit_quiz.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testapp/templates/exam/edit_quiz.html b/testapp/templates/exam/edit_quiz.html new file mode 100644 index 0000000..7744623 --- /dev/null +++ b/testapp/templates/exam/edit_quiz.html @@ -0,0 +1,31 @@ +{% extends "manage.html" %} + + +{% block subtitle %} +Edit Quiz(zes) +{% endblock %} + +{% block manage %} + +<style type='text/css'> + +table th, table td { + padding: 10px 10px 9px; + line-height: 18px; + text-align: left; +} +</style> +<form name=frm action="{{URL_ROOT}}/exam/manage/editquiz/" method="post"> +{% csrf_token %} +{% for form in forms %} +<center> +<table class=span1> +{{ form.as_table }} +</table> +</center> +<hr> +{% endfor %} +<center><button class="btn" type="submit" name="save">Save</button> +<button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/showquiz/");'>Cancel</button> </center> +</form> +{% endblock %} |