{% extends "base.html.twig" %} {% block page_title %} Editer l'EPCI {{ epci.suaNom }} | BO {% endblock %} {% block name_title_page_top %} EPCI {% endblock %} {% block real_page_content %}
{# Barre d'action #}
Retour aux EPCI

Editer {{ epci.suaNom }}

{# Section Informations generales #}
Informations generales
{# Section Partenaire #}
Partenariat
{# Champ cache : une case decochee n'est pas postee, on force alors la valeur 0 #}
{# Section Logo #}
Logo
{% include "components/_mediaManager.html.twig" with { media: { label: 'Logo EPCI', currentUrl: logoUrl, showOriginal: false, formFieldName: 'form[suaLogo]', deleteRoute: 'media_delete', deleteRouteParams: {typeEntite: 'geolocale_subdivision_autre', idEntity: epci.suaId, medType: 'Logo'} }, modalId: 'deleteLogoModal' } %}
{# Section Statistiques #} {% if stats %}
Statistiques
{{ stats.communes ?? 0 }}
Communes
{{ stats.acteurs ?? 0 }}
Acteurs
{{ stats.evenements ?? 0 }}
Evenements {{ "now"|date("Y") }}
{{ stats.evenementsN1 ?? 0 }}
Evenements {{ "now"|date("Y") - 1 }}
{{ stats.lieux ?? 0 }}
Lieux
{% endif %} {# Section Villes liees #}
{% if villes is empty %}
Aucune ville n'est liee a cet EPCI.
Pour lier une ville, modifiez la ville et selectionnez cet EPCI dans le champ correspondant.
{% else %}
{% for ville in villes %} {% endfor %}
Nom Code Postal Actions
{{ ville.vilNom }} {{ ville.vilCodepostal ?? '-' }}
{% endif %}
{# Section Historique #} {% include "components/_logsUniqueEntity.html.twig" %}
{% endblock %}