templates/que_dump.html
changeset 44 ffc035725a4e
child 48 aae2f69ba89c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/que_dump.html	Thu Apr 22 02:13:32 2010 +0530
@@ -0,0 +1,23 @@
+{% extends 'base.html' %}
+{% block content %}
+List of answers submitted for {{quiz_name}} of {{event.title}}<br />
+<form action="" method="post">
+<table cellspacing="5" cellpadding="3">
+		<tr>
+				<td>User</td>
+				<td>Submitted Answer</td>
+				<td> Is Correct</td>
+		</tr>
+	
+		{% for ans in answers %}
+		<tr>
+				<td>{{ans.quiz.all.0.user.get_full_name}}</td>
+				<td>{{ans.submitted_ans}}</td>
+				<td><input name="{{ans.id}}" type="checkbox" {% if ans.is_correct %}checked="yes"{%endif%}></td>
+		</tr>
+		{% endfor %}
+</table><br />
+		<input type="submit" value="save">
+</form>
+{% endblock %}
+