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

{% block subtitle %}Edit Question{% endblock %}

{% block css %}
<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/question_quiz.css" type="text/css" /> 
{% endblock %}

{% block manage %}
<form action="{{URL_ROOT}}/exam/manage/editquestion/" method="post">
  {% csrf_token %}
  {% for form in forms %}
  <table class=span1>
  {{ 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 %}