{% extends 'tournaments/base.html' %}

{% block head_title %}Équipes du {{ tournament.display_name }}{% endblock %}
{% block first_title %}{{ tournament.event.display_name }}{% endblock %}
{% block second_title %}{{ tournament.display_name }}{% endblock %}

{% if tournament.display_teams %}

{% block content %}

{% load static %}

    {% include 'tournaments/navigation_tournament.html' %}

    {% if teams %}

        <div class="grid-x padding-bottom">

            <div class="cell medium-6 large-6 my-block">
                <div class="bubble">

                    {% if tournament.registration_count_display %}
                    <label class="title">{{ tournament.registration_count_display }}</label>
                    {% endif %}

                    {% for team in teams %}

                    {% include 'tournaments/team_row.html' %}

                    {% endfor %}

                </div>
            </div>

        </div>

     {% endif %}

{% endblock %}
{% endif %}
