44
|
1 |
{% extends 'base.html' %}
|
|
2 |
{% block content %}
|
|
3 |
List of answers submitted for {{quiz_name}} of {{event.title}}<br />
|
|
4 |
<form action="" method="post">
|
|
5 |
<table cellspacing="5" cellpadding="3">
|
|
6 |
<tr>
|
|
7 |
<td>User</td>
|
|
8 |
<td>Submitted Answer</td>
|
|
9 |
<td> Is Correct</td>
|
|
10 |
</tr>
|
|
11 |
|
|
12 |
{% for ans in answers %}
|
|
13 |
<tr>
|
|
14 |
<td>{{ans.quiz.all.0.user.get_full_name}}</td>
|
|
15 |
<td>{{ans.submitted_ans}}</td>
|
|
16 |
<td><input name="{{ans.id}}" type="checkbox" {% if ans.is_correct %}checked="yes"{%endif%}></td>
|
|
17 |
</tr>
|
|
18 |
{% endfor %}
|
|
19 |
</table><br />
|
|
20 |
<input type="submit" value="save">
|
|
21 |
</form>
|
|
22 |
{% endblock %}
|
|
23 |
|