{% extends 'base.html' %} {% block title %}- Toplist{% endblock %} {% block body_block %}
{% for context,restlist in scores %} {% if forloop.first %}
{% endif %}
{{ context }}
    {% for restname,id,score in restlist %}
  1. {{ restname }} {{ score }}
  2. {% endfor %}
{% if forloop.counter|divisibleby:3 %}
{% endif %} {% if forloop.last %}
{% endif %} {% endfor %}
{% endblock %}