{% extends "base.html" %}

{% block title %}Turnieje{% endblock  %}

{% block content %}
    <h1>Turnieje</h1>
        {% for tournament in tournaments %}
            <div class="mainTestContainer">
                <div class="mainTestName">
                    {{tournament.name}}
<!--                    {% if test.password != "" %}-->
<!--                        <i class="fa-solid fa-lock locked" title="Test chroniony hasłem"></i>-->
<!--                    {% endif %}-->
                </div>
<!--                <div class="mainTestDesc">-->
<!--                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus volutpat scelerisque tortor, id sodales leo finibus id. Vivamus id viverra nunc, ac faucibus metus. Nulla a mauris imperdiet sapien lobortis dapibus. Quisque ornare posuere pulvinar.-->
<!--                </div>-->
                <button><a href="/tests/{{tournament.id}}/tournament/show">Rozwiąż</a></button>
            </div>
            <br>
        {% endfor %}
{% endblock  %}