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

{% trans %}Create Team{% endtrans %}

{% include "components/errors.html" %} {% with form = Forms.teams.TeamRegisterForm() %} {% from "macros/forms.html" import render_extra_fields %}
{{ form.name.label(class="form-label") }} {{ form.name(class="form-control") }}
{{ form.password.label(class="form-label") }} {{ form.password(class="form-control") }}
{{ form.color.label }}
{{ form.color(id="config-color-input") }}
{{ form.color.description }}

After creating your team, share the team name and password with your teammates so they can join your team.

{{ form.submit(class="btn btn-success float-end px-4") }}
{{ form.nonce() }}
{% endwith %}

{% trans %}Color{% endtrans %} {% trans %}Team{% endtrans %} {% trans %}Participants{% endtrans %}
{% endblock %} {% block scripts %} {{ Assets.js("assets/js/teams/list.js") }} {% endblock %}