{% do setAriane(3, 'Modification d’un établissement' | trad) %}
{% extends 'layout.twig' %}
     
{% block body %}

<section class="contenu">
	<h1>{{ strBuild(
		'Gestion des établissements via @1@' | trad,
		['Agena 3000']
	) }}</h1>
	
	{{ ariane() }}

	<h2>{{ 'Modification d’un établissement' | trad }}</h2>

	<form class="form-default box-form mb-base" method="POST"
        action="{{ path('Parametrage.Agena.update', {
			pdp: pdpConfig.ID,
			id: subject.Id,
		}) }}"
        onsubmit="return ajaxSubmit(event)"
        data-onsuccess="arianePop"
    > 
		{% include '@GlobalApplication/Input/inputGroup.twig' with {
			input: {listChild: form},
			subject: subject,
		} only %}
		<footer class="text-right">
			<button type="submit" class="button principal">
				{{ 'Modifier' | trad }}
			</button>
		</footer>
    </form>

</section>

{% endblock %}