diff options
Diffstat (limited to 'testapp/templates/exam/edit_quiz.html')
-rw-r--r-- | testapp/templates/exam/edit_quiz.html | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/testapp/templates/exam/edit_quiz.html b/testapp/templates/exam/edit_quiz.html index 7744623..27b179f 100644 --- a/testapp/templates/exam/edit_quiz.html +++ b/testapp/templates/exam/edit_quiz.html @@ -1,31 +1,28 @@ {% extends "manage.html" %} -{% block subtitle %} -Edit Quiz(zes) -{% endblock %} +{% 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> + <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> + {% 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 %} |