templates/list_questions.html
author nishanth
Thu, 01 Jul 2010 16:20:17 +0530
changeset 81 848c009b8a60
parent 79 fa10c32b3730
child 84 08af9e4ada78
permissions -rw-r--r--
now topic name is displayed instead of topic number in list_questions page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
79
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     2
{% block content %}
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     3
<a href="/event/admin/ditchax">Click here to return to event admin page</a>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     4
<table>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     5
		<tr>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     6
				<td>Question Description</td>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     7
				<td>Topic</td>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     8
		</tr>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
     9
		{% for question in questions %}
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
    10
		<tr>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
    11
<td><a href="/quiz/questions/ditchax/question.id">{{question.description}}</a></td>
81
848c009b8a60 now topic name is displayed instead of topic number in list_questions page
nishanth
parents: 79
diff changeset
    12
<td>{{question.topic_name}}</td>
79
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
    13
</tr>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
    14
{% endfor %}
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
    15
</table>
fa10c32b3730 the basic page to display list of questions is ready
nishanth
parents:
diff changeset
    16
{% endblock %}