equal
deleted
inserted
replaced
|
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> |
|
15 <td>{{ans.submitted_ans}}</td> |
|
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 |