templates/list_toppers.html
author nishanth
Thu, 01 Jul 2010 16:28:46 +0530
changeset 82 79ae8288b5ff
parent 70 911a24ae80d6
permissions -rw-r--r--
removed the restriction on code field and options field in models

{% extends 'base.html' %}
{% block content %}
{% if sorted_quizzes %}
List of toppers for {{quiz_name}} of {{event.title}}<br />
<br />
<table cellspacing="5" cellpadding="3">
	<tr align="center">
			<td> Name </td>
			<td> Profession </td>
			<td> Score </td>
	</tr>
	{% for quiz in sorted_quizzes %}
	<tr align="center">
			<td><a href="/quiz/user_dump/{{admin_key}}/{{quiz.key}}/{{quiz.user.username}}">{{quiz.user.get_full_name}}</a></td>
			<td>{{quiz.user.get_profile.profession}}</td>
			<td>{{quiz.score}}</td>
	</tr>
        {% endfor %}
{% else %}
No user has taken {{quiz_name}} yet.
{% endif %}
{% endblock %}