{% do setAriane(1, 'Création d’adresse de facture électronique' | trad) %}
{% extends 'layout.twig' %}

{% block body %}

<section class="contenu">
    <h1>{{ 'Adresse de facture électronique' | trad }}</h1>

    {{ ariane() }}

    <form class="box-form form-default"
		method="POST" action="{{ path('Tables.FacDematAdrElec.create') }}"
		onsubmit="return ajaxSubmit(event)"
        data-onsuccess="arianePop"
	>
		{{ inputAdvance('TEXT', {
			name: 'ADR_FACELEC',
			titre: 'Adresse' | trad,
			value: post.ADR_FACELEC,
			pathValidator: path('Ajax.validator.isStringSansEspace'),
			paramsValidator: "{'sizeMin' : '0', 'sizeMax' : '100'}",
		}) }}
		<div class="text-right">
			<button class="button principal m-0" type="submit">
				{{- 'Créer' -}}
			</button>
		</div>
	</form>
</section>
{% endblock %}