author | nishanth |
Tue, 06 Jul 2010 23:31:33 +0530 | |
changeset 89 | f8e25dea5222 |
parent 51 | 80df28feac72 |
permissions | -rw-r--r-- |
44 | 1 |
{% extends 'base.html' %} |
2 |
{% block content %} |
|
3 |
List of answers submitted by {{quiz.user.get_full_name}} for {{quiz_name}} of {{event.title}}<br /> |
|
4 |
<form action="" method="post"> |
|
5 |
<table cellspacing="5" cellpadding="3"> |
|
6 |
<tr> |
|
7 |
<td>Question</td> |
|
8 |
<td>Submitted Answer</td> |
|
9 |
<td> Is Correct</td> |
|
10 |
</tr> |
|
11 |
||
12 |
{% for ans in quiz.que_answered.all %} |
|
13 |
<tr> |
|
14 |
<td><a href="/quiz/que_dump/{{admin_key}}/{{ans.question.id}}">{{ans.question.description|slice:":50"}}</a></td> |
|
51
80df28feac72
now code submitted by user is displayed in <pre> tags in que_dump and user_dump
nishanth
parents:
44
diff
changeset
|
15 |
<td><pre>{{ans.submitted_ans}}</pre></td> |
44 | 16 |
<td><input name="{{ans.question.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 |