templates/user_dump.html
author nishanth
Thu, 01 Jul 2010 16:20:17 +0530
changeset 81 848c009b8a60
parent 51 80df28feac72
permissions -rw-r--r--
now topic name is displayed instead of topic number in list_questions page

{% extends 'base.html' %}
{% block content %}
List of answers submitted by {{quiz.user.get_full_name}} for {{quiz_name}} of {{event.title}}<br />
<form action="" method="post">
<table cellspacing="5" cellpadding="3">
		<tr>
				<td>Question</td>
				<td>Submitted Answer</td>
				<td> Is Correct</td>
		</tr>
	
		{% for ans in quiz.que_answered.all %}
		<tr>
				<td><a href="/quiz/que_dump/{{admin_key}}/{{ans.question.id}}">{{ans.question.description|slice:":50"}}</a></td>
				<td><pre>{{ans.submitted_ans}}</pre></td>
				<td><input name="{{ans.question.id}}" type="checkbox" {% if ans.is_correct %}checked="yes"{%endif%}></td>
		</tr>
		{% endfor %}
</table><br />
		<input type="submit" value="save">
</form>
{% endblock %}