summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/add_question.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates/exam/add_question.html')
-rw-r--r--testapp/templates/exam/add_question.html32
1 files changed, 15 insertions, 17 deletions
diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html
index 2d42b34..d5503b5 100644
--- a/testapp/templates/exam/add_question.html
+++ b/testapp/templates/exam/add_question.html
@@ -1,27 +1,25 @@
{% extends "manage.html" %}
-{% block subtitle %}
-Add Question
-{% endblock %}
+{% block subtitle %}Add Question{% 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 action="" method="post">
-{% csrf_token %}
-<center><table class=span1>
-{{ form.as_table }}
-</table>
-<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 %}
+ <center><table class=span1>
+ {{ form.as_table }}
+ </table>
+ <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 %}