summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/edit_question.html
blob: 7613cc68c3f94d4bbcc15d9d49d9b86770ee40ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "manage.html" %}

{% 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>

<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>
</form>
{% endblock %}