implémentation formulaire, cookie

This commit is contained in:
2025-09-19 11:28:56 +02:00
parent 6ee139ab5f
commit bcf31c3fbb
13 changed files with 348 additions and 8 deletions

View File

@@ -10,8 +10,30 @@
{% block javascripts %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% endblock %}
<style>
body {
display: flex;
justify-content: center; /* centre horizontalement */
align-items: center; /* centre verticalement */
min-height: 100vh; /* prend toute la hauteur de la fenêtre */
margin: 0; /* évite les marges par défaut */
}
div {
text-align: center; /* centre le contenu dans le bloc */
}
</style>
</head>
<body>
{% block body %}{% endblock %}
{% block body %}
{% form_theme form 'bootstrap_5_layout.html.twig' %}
<div syle="">
{{ form_start(form) }}
{{ form_errors(form.code) }}
{{ form_row(form.code) }}
{{form_end(form)}}
</div>
{% endblock %}
</body>
</html>