{% extends "gestion/base.html" %} {% load i18n %} {% block titre %}{% trans "Participation à un événement" %}{% endblock %} {% block content %}
{% if not user.is_superuser or not user.profile.is_chef %} {% if user.is_superuser or user.profile.is_chef %} {% trans "Cet événement est encore en construction ! Reviens plus tard." %} {% endif %} {% endif %} {% if user.is_superuser or user.profile.is_chef or not chef_only%}
{% if envoi %}

{% trans "Votre réponse a été enregistrée !" %}

{% endif %}

{% trans "Retour à l'événement" %}

{% blocktrans with nom=ev.nom date=ev.date debut=ev.debut|time:"H:i" %} Voulez vous participer à l'événement {{ nom }}, le {{ date }} à {{ debut }} ?{% endblocktrans %}

{% trans "Instrument principal"%} : {% if request.user.profile.instru == "Autre" %}{{request.user.profile.instru_autre}}{% else %}{{request.user.profile.instru}}{% endif %}

{% csrf_token %} {{ form.non_field_errors }} {% for field in form %}
{{ field.errors }} {% if field.id_for_label == "id_dont_play_main" %} {% endif %}
{% endblock %} {% block script %} {% endblock %}