author | nishanth |
Thu, 22 Apr 2010 05:41:35 +0530 | |
changeset 48 | aae2f69ba89c |
parent 44 | ffc035725a4e |
child 51 | 80df28feac72 |
permissions | -rw-r--r-- |
44 | 1 |
{% extends 'base.html' %} |
2 |
{% block content %} |
|
48
aae2f69ba89c
updated the que_dump template to show the question properly.
nishanth
parents:
44
diff
changeset
|
3 |
List of answers submitted for {{quiz_name}}<br /> |
aae2f69ba89c
updated the que_dump template to show the question properly.
nishanth
parents:
44
diff
changeset
|
4 |
<br /> |
aae2f69ba89c
updated the que_dump template to show the question properly.
nishanth
parents:
44
diff
changeset
|
5 |
{{question.description|linebreaksbr}}<br /><br /> |
aae2f69ba89c
updated the que_dump template to show the question properly.
nishanth
parents:
44
diff
changeset
|
6 |
<fieldset><pre>{{question.code}}</pre></fieldset> |
aae2f69ba89c
updated the que_dump template to show the question properly.
nishanth
parents:
44
diff
changeset
|
7 |
<br /> |
aae2f69ba89c
updated the que_dump template to show the question properly.
nishanth
parents:
44
diff
changeset
|
8 |
Answers Submitted:<br /> |
44 | 9 |
<form action="" method="post"> |
10 |
<table cellspacing="5" cellpadding="3"> |
|
11 |
<tr> |
|
12 |
<td>User</td> |
|
13 |
<td>Submitted Answer</td> |
|
14 |
<td> Is Correct</td> |
|
15 |
</tr> |
|
16 |
||
17 |
{% for ans in answers %} |
|
18 |
<tr> |
|
19 |
<td>{{ans.quiz.all.0.user.get_full_name}}</td> |
|
20 |
<td>{{ans.submitted_ans}}</td> |
|
21 |
<td><input name="{{ans.id}}" type="checkbox" {% if ans.is_correct %}checked="yes"{%endif%}></td> |
|
22 |
</tr> |
|
23 |
{% endfor %} |
|
24 |
</table><br /> |
|
25 |
<input type="submit" value="save"> |
|
26 |
</form> |
|
27 |
{% endblock %} |
|
28 |