{% extends "components/base_layout.html" %} {% block body %}

Rangliste

{% for index, (user, points) in leaderboard %} {% if index == 0 %} {% elif current_user.id == user.id %} {% else %} {% endif %} {% endfor %}
# Name Punkte
{{ index + 1 }} {{ user.username }} {{ points }}

{% include "components/ranking_chart.html" %} {% endblock %}