{% load widget_tweaks %} {% load url from future %} {{ form.non_field_errors }} {{ form.start_datetime }} {{ form.start_datetime.errors }}

{{ form.event_type.label_tag }} {{ form.event_type }} {{ form.event_type.errors }}

{{ form.title.label_tag }} {{ form.title }} {{ form.title.errors }}

{{ form.ressource.label_tag }} {{ form.ressource }}

{{ form.date.label_tag }} {{ form.date|add_class:"datepicker-date" }} {{ form.date.errors }}

{{ form.time.label_tag }} {{ form.time }} {{ form.time.errors }}

{{ form.duration.label_tag }} {{ form.duration|add_class:"mousewheel"|attr:"data-mousewheel-increment:5" }} {{ form.duration.errors }}

{{ form.duration.help_text }}

{{ form.participants.label_tag }}
{{ form.participants }} {{ form.participants.errors }}
{{ form.services.label_tag }} {{ form.services }} {{ form.services.errors }}
{{ form.description.label_tag }} {{ form.description }} {{ form.description.errors }}
{% if object.exception_to %}
{% if object.id != object.exception_to.id %}

Attention: cette objet est une exception à un évènement périodique; si vous modifiez ou supprimiez cet évènement périodique, l'exception n'en serait pas affecté.

{% endif %}
Occurence du {{object.exception_date}} d'un évènement périodique {% if object.exception_to.canceled %}supprimé et initialement prévu{% endif %} {{ object.exception_to.recurrence_description|lower }}
{% if not object.exception_to.canceled %} {% endif %} {% endif %}