{% extends "agenda_culturel/page.html" %} {% load static %} {% load utils_extra %} {% load cat_extra %} {% load event_extra %} {% load tag_extra %} {% block title %}Appliquer les catégorisations{% endblock %} {% block entete_header %} {% css_categories %} {% endblock %} {% block content %}

Appliquer les catégorisations

Les règles de catégorisation proposent de modifier comme suit les événements suivants. Sélectionnez les modifications qui vous conviennent.

{% csrf_token %} {% for field in form %} {% if not field.is_hidden %}
{{ field.errors }} {% with eid=field.auto_id|remove_id_prefix %} {% with event=events|get_item:eid %} {% with altcat=categories|get_item:eid %}
{{ field }} Changer {{ event.category|small_cat }} en {{ altcat|small_cat }} pour l'événement

{{ event|picto_status }} {{ event.title }}

{% picto_from_name "map-pin" %} {{ event.location }}

{% picto_from_name "calendar" %} {% if event.end_day and event.end_day != event.start_day %}du{% else %}le{% endif %} {% include "agenda_culturel/date-times-inc.html" with event=event %}

{{ event.description |linebreaks }}

{% for tag in event.tags %} {{ tag | tag_button }} {% endfor %}

{% endwith %} {% endwith %} {% endwith %}
{% else %} {{ field }} {% endif %} {% endfor %}
Annuler
{% endblock %}