diff options
author | hardythe1 | 2012-02-24 16:16:38 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-24 16:16:38 +0530 |
commit | b1fbf5b02280de5b78b0249e777a179e34b50b98 (patch) | |
tree | f133bd5e556d4d0e8bbc94c9ffbac22bcc46bb31 /testapp/templates/exam/edit_question.html | |
parent | dd3fd7b8c58d836baba24441e7d55c6d51858eab (diff) | |
download | online_test-b1fbf5b02280de5b78b0249e777a179e34b50b98.tar.gz online_test-b1fbf5b02280de5b78b0249e777a179e34b50b98.tar.bz2 online_test-b1fbf5b02280de5b78b0249e777a179e34b50b98.zip |
formating and identation
Diffstat (limited to 'testapp/templates/exam/edit_question.html')
-rw-r--r-- | testapp/templates/exam/edit_question.html | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/testapp/templates/exam/edit_question.html b/testapp/templates/exam/edit_question.html index 04217ab..7613cc6 100644 --- a/testapp/templates/exam/edit_question.html +++ b/testapp/templates/exam/edit_question.html @@ -1,29 +1,27 @@ {% extends "manage.html" %} -{% block subtitle %} -Edit Question -{% endblock %} +{% block subtitle %}Edit Question{% endblock %} {% block manage %} -<style type="text/css"> - -table th, table td { - padding: 10px 10px 9px; - line-height: 18px solid; - text-align: left; -} -</style> + <style type="text/css"> + table th, table td + { + padding: 10px 10px 9px; + line-height: 18px solid; + text-align: left; + } + </style> <form action="{{URL_ROOT}}/exam/manage/editquestion/" method="post"> -{% csrf_token %} -{% for form in forms %} -<table> -{{ form.as_table }} -</table> -<hr> -{% endfor %} -<center><button class="btn" type="submit" name="savequestion">Save</button> -<button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/questions/");'>Cancel</button> </center> + {% csrf_token %} + {% for form in forms %} + <table> + {{ form.as_table }} + </table> + <hr> + {% endfor %} + <center><button class="btn" type="submit" name="savequestion">Save</button> + <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/questions/");'>Cancel</button> </center> </form> {% endblock %} |