{% extends "base.html" %}

{% load i18n django_tables2 %}

{% block content %}
    {% render_table table %}

    <hr>

    <form method="post">
        {% csrf_token %}
        <div class="btn-group btn-block">
            {% for tournament in tournaments.all %}
                <button name="tournament_zip" value="{{ tournament.id }}" class="btn btn-success">{% blocktrans %}{{ tournament }} — ZIP{% endblocktrans %}</button>
            {% endfor %}
        </div>
    </form>
{% endblock %}