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


{% block subtitle %}List of Question Papers {% endblock %}

{% block script %}
<script src="{{ URL_ROOT }}/static/exam/js/show_question.js"></script>
{% endblock %}

{% block manage %}
{% if papers %}
<form name=frm action="" method="post">
{% csrf_token %}
{% for i in papers %}
<input type="checkbox" name="papers" value="{{ i.id }}">&nbsp;&nbsp;<a href="{{URL_ROOT}}/exam/manage/showquestionpapers/{{ i.id }}">{{ i.quiz.description }}</a><br>
{% endfor %}
<br>
<button class="btn" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</button>
</form>
{% else %}
<center><h3>No Question Papers available</h3></center>
{% endif %}
{% endblock %}