summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/edit_quiz.html
blob: d513e7a4bcf4c45799fc9ec3364d686c9e093d47 (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
28
29
30
31
32
33
34
35
{% extends "manage.html" %}


{% block subtitle %}Edit Quiz(zes){% endblock %}

{% block css %}
<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/question_quiz.css" type="text/css" /> 
<style type='text/css'>
table th, table td 
    {	
	 text-align: center;
    }
</style>
{% endblock %}

{% block manage %}
<form name=frm action="{{URL_ROOT}}/exam/manage/editquiz/" method="post">
  {% csrf_token %}
  <center>
  <table>
	<tr>
	<td><strong> Start Date <td><strong> Duration <td> <strong>Active <td> <strong>Description </strong>
	</tr>
  {% for form in forms %}

	<tr>
	<td>  {{ form.start_date}} <td> {{ form.duration }} <td> {{ form.active }} <td> {{ form.description }}
	</tr>
  {% endfor %}
  </table>
  </center>
  <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 %}