{% extends "base.html" %} {% block content %}

{% trans %}Rejoindre un équipe{% endtrans %}

{% include "components/errors.html" %} {% with form = Forms.teams.TeamJoinForm() %}
{{ form.name.label(class="form-label") }} {{ form.name(class="form-control") }}
{% if team_as_password %}
{{ form.password.label(class="form-label") }} {{ form.password(class="form-control") }}
{% endif %}
{{ form.submit(class="btn btn-success float-end px-4") }}
{{ form.nonce() }}
{% endwith %}

{% for team in teams %} {% endfor %}
{% trans %}Couleur{% endtrans %} {% trans %}Équipe{% endtrans %} {% trans %}Participants{% endtrans %}
{{team.name}} {{team.members|length}}
{% block scripts %} {{ Assets.js("assets/js/teams/list.js") }} {% endblock %} {% endblock %}