blob: 2074dcb7a69f217bde6ac3799624a5973fc934fe (
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
36
37
38
39
40
|
{% extends "base.html" %}
{% load static %}
{% block content %}
<br><br>
<br><br>
<div class="container">
{% if set_visible %}
<form method="POST">
{% csrf_token %}
<button class="btn-default btn-info btn-lg" name="Download">Download Model Files</button>
</form>
<br><br>
<table style="width:100%" class="table table-hover">
<thead>
<tr>
<th>Question</th>
<th>Answer</th>
</tr>
</thead>
{% for q in question_ans_list %}
<tbody>
<tr>
<td>{{ q.question }} </td>
<td>{{ q.correct_answer }} </td>
</tr>
</tbody>
{% endfor %}
</table>
{% else %}
<div class="jumbotron">
<p>This page will be visible from <strong>15-11-2018</strong></p>
</div>
{% endif %}
</div>
{% endblock %}
|