{% extends "leaderboard/base.html" %}
{% load pagination_tags %}

{% block title %}{{ category }}{% endblock title %}

{% block content %}
<div id="leaderboard">
<h3>{{ category }}</h3>
<ul>
{% autopaginate qs 50 %}
{% for user in qs %}
	<li><a href="{% url coreprofile user.id %}">{{ user }}</a></li>
{% empty %}
	<li>There are no users in this category.</li>
{% endfor %}
</ul>
</div>
{% paginate %}
{% endblock content %}
