templates/list_questions.html
author nishanth
Thu, 01 Jul 2010 16:44:17 +0530
changeset 84 08af9e4ada78
parent 81 848c009b8a60
child 85 451be7b1de20
permissions -rw-r--r--
modified the link in templates to the correct one and fixed a typo in view
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>
84
08af9e4ada78 modified the link in templates to the correct one and fixed a typo in view
nishanth
parents: 81
diff changeset
    11
				<td><a href="/quiz/questions/edit/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 %}