{% extends 'base.html' %} {% load static %} {% block title %}{{ title }}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
Informations sur ce tournoi
Inscriptions : {{ tournoi.nbr_inscrit }}/{{ tournoi.nbr_maxi_joueur }}
Créé le : {{ tournoi.date_creation|date:"d/m/Y à H:i" }}
{% if tournoi.nbr_inscrit > 0 %}
Attention : Ce tournoi a déjà {{ tournoi.nbr_inscrit }} inscription{{ tournoi.nbr_inscrit|pluralize }}. Certaines modifications peuvent affecter les joueurs inscrits.
{% endif %}

Modifier le tournoi

{{ tournoi.mode_jeu.mode_jeux|default:"Tournoi" }} du {{ tournoi.date|date:"d/m/Y" }}

{% csrf_token %}
{{ form.mode_jeu }} {% if form.mode_jeu.errors %}
{% for error in form.mode_jeu.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.tour_nbr }} {% if form.tour_nbr.help_text %}
{{ form.tour_nbr.help_text }}
{% endif %} {% if form.tour_nbr.errors %}
{% for error in form.tour_nbr.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.lieu_organisation }} {% if tournoi.nbr_inscrit > 0 %}
Changer le lieu peut perturber les joueurs inscrits.
{% endif %} {% if form.lieu_organisation.errors %}
{% for error in form.lieu_organisation.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.ligue }} {% if form.ligue.errors %}
{% for error in form.ligue.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.date }} {% if form.date.help_text %}
{{ form.date.help_text }}
{% endif %} {% if tournoi.nbr_inscrit > 0 %}
Changer la date recalculera les dates d'inscription.
{% endif %} {% if form.date.errors %}
{% for error in form.date.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.nbr_maxi_joueur }} {% if form.nbr_maxi_joueur.help_text %}
{{ form.nbr_maxi_joueur.help_text }}
{% endif %} {% if tournoi.nbr_inscrit > 0 %}
Actuellement {{ tournoi.nbr_inscrit }} inscrit{{ tournoi.nbr_inscrit|pluralize }}. Ne pas descendre en dessous.
{% endif %} {% if form.nbr_maxi_joueur.errors %}
{% for error in form.nbr_maxi_joueur.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.dimension }} {% if form.dimension.errors %}
{% for error in form.dimension.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.statut }} {% if form.statut.errors %}
{% for error in form.statut.errors %} {{ error }} {% endfor %}
{% endif %}
{% if form.non_field_errors %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
Annuler
{% if tournoi.nbr_inscrit == 0 %} Supprimer {% endif %}
Impact des modifications
  • Date : Les dates d'inscription seront recalculées automatiquement
  • Lieu : Tous les joueurs inscrits seront notifiés du changement
  • Nombre max : Ne peut pas être inférieur au nombre actuel d'inscrits
  • Prix : Seuls les nouveaux inscrits paieront le nouveau prix
{% endblock %} {% block extra_js %} {% endblock %}