summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/quizlist.html
blob: 9b1fd732d5cda0e15b3f85fd7fb3852734e9edb3 (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
{% extends "base.html" %}

{% block title %} Quiz List {% endblock title %}

{% block formtitle %} Quiz List {% endblock %}

{% block pagetitle %} Online Test {% endblock %}

{% block content %}
{% if not quizzes and not quiz %}
<center><h5> No quizzes available. </h5></center>
{% endif %}

{% if quizzes %}
<form method="post" action="" name='frm'>
{% csrf_token %}

{% for quiz in quizzes %}
<a href="{{URL_ROOT}}/exam/start/{{quiz.id}}/">{{ quiz.description }}</a><br>
{% endfor %}
</form>
{% endif %}

{% endblock %}