{% extends 'tournaments/base.html' %} {% block head_title %}{{ tournament.display_name }} : Informations{% endblock %} {% block first_title %}{{ tournament.event.display_name }}{% endblock %} {% block second_title %}{{ tournament.display_name }}{% endblock %} {% block content %} {% load static %} {% load tz %}

Inscription : {{ tournament.display_name }} {{ tournament.get_federal_age_category_display}}

{% if registration_successful %}

Merci, l'inscription a bien été envoyé au juge-arbitre.

Un email de confirmation a été envoyé à {{ user.email }} pour confirmer votre inscription. Pensez à vérifier vos spams si vous ne recevez pas l'email. En cas de problème, contactez le juge-arbitre.

{% else %}
{% csrf_token %}

Informations de contact

{{ team_form.as_p }}
{% if current_players %}

Constitution de votre équipe

    {% for player in current_players %}
  • {{ player.first_name }} {{ player.last_name }}{% if player.licence_id %} ({{ player.licence_id }}){% endif %}
  • {% endfor %}
{% endif %} {% if current_players|length < 2 %}
{% if current_players|length == 1 %}
Inscrivez votre partenaire
{% endif %} {% if user_without_licence and tournament.license_is_required %}
Une licence est obligatoire pour vous inscrire :
{% endif %} {% if tournament.license_is_required %} {{ add_player_form.licence_id.label_tag }} {{ add_player_form.licence_id }} {% endif %} {% if add_player_form.first_tournament or user_without_licence or tournament.license_is_required is False %} {% if not user_without_licence and tournament.license_is_required is True %}
Précisez les informations du joueur :
{% endif %} {{ add_player_form.first_name.label_tag }} {{ add_player_form.first_name }} {{ add_player_form.last_name.label_tag }} {{ add_player_form.last_name }} {% if tournament.license_is_required is False %} {{ add_player_form.licence_id.label_tag }} {% if tournament.license_is_required is False %}(facultatif){% endif %} {{ add_player_form.licence_id }} {% endif %} {% endif %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if current_players|length >= tournament.minimum_player_per_team %}
{% if tournament.get_waiting_list_position == 1 %} {{ tournament.get_waiting_list_position }} équipe en liste d'attente devant vous {% elif tournament.get_waiting_list_position > 1 %} {{ tournament.get_waiting_list_position }} équipes en liste d'attente devant vous {% elif tournament.get_waiting_list_position == 0 %} Aucune équipe en liste d'attente devant vous {% endif %}
{% endif %}
{% endif %}
{% endblock %}