{% 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ée au juge-arbitre.

Un email de confirmation a été envoyé à l'adresse associée à votre compte Padel Club ({{ user.email }}). 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 %}
    {{ player.club_name }}
    Classement à ce jour : {{ player.rank }}
    {% if not forloop.first %}
    {% endif %}
  • {% endfor %}
{% endif %} {% if current_players|length < 2 %}
{% if current_players|length == 1 %}
Inscrivez votre partenaire
{% endif %} {% if current_players|length == 0 and add_player_form.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 add_player_form.user_without_licence or tournament.license_is_required is False %} {% if not add_player_form.user_without_licence and tournament.license_is_required is True %}
Padel Club n'a pas trouvé votre partenaire, il se peut qu'il s'agisse de son premier tournoi. Contacter le juge-arbitre après l'inscription si ce n'est pas le cas.
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 %}
{% if form.errors %}
{% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %} {% for field in form %} {% for error in field.errors %}

{{ error }}

{% endfor %} {% endfor %}
{% endif %}
{% endif %} {% if current_players|length >= tournament.minimum_player_per_team %}
{% if tournament.get_waiting_list_position == 1 %} Tournoi complet, {{ tournament.get_waiting_list_position }} équipe en liste d'attente actuellement. {% elif tournament.get_waiting_list_position > 1 %} Tournoi complet, {{ tournament.get_waiting_list_position }} équipes en liste d'attente actuellement. {% elif tournament.get_waiting_list_position == 0 %} Tournoi complet, vous seriez la première équipe en liste d'attente. {% endif %}
{% endif %}
{% endif %}
{% endblock %}