
{% do setAriane(1, 'Modifier le thème' | trad) %}

{% extends 'layout.twig' %}
{% block body %}
<section class="contenu">

    <h1>{{ 'Gestion des thèmes' | trad }}</h1>

    {{ ariane() }}

    <h2>{{ strBuild(
        'Modifier le thème @1@' | trad,
        [entityLabel(subject, 'CODTHEM', 'LIBELLE')]
    ) }}</h2>

    <form class="form-default" method="POST"
        action="{{ path('EtatStatistique.Theme.update', {id: subject.CODTHEM}) }}"
        onsubmit="return ajaxSubmit(event)"
        data-onsuccess="arianePop"
    >
        {% include '@EtatStatistiques/Theme/_form.twig' with {
            form: form,
            subject: subject,
            submitLabel: 'Enregistrer' | trad,
        } %}
    </form>
</section>
{% endblock %}

