32 lines
1.3 KiB
Twig
32 lines
1.3 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Modifier l'utilisateur{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="container mx-auto p-6">
|
|
<h1 class="text-4xl font-semibold text-gray-800 mb-6">Modifier l'utilisateur</h1>
|
|
|
|
<div class="bg-white shadow-md rounded-lg p-6">
|
|
{{ form_start(form) }}
|
|
|
|
<div class="space-y-6">
|
|
{{ form_row(form.nickname, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
{{ form_row(form.firstName, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
{{ form_row(form.lastName, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
{{ form_row(form.tel, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
{{ form_row(form.address, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
{{ form_row(form.mail, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
{{ form_row(form.password, {'attr': {'class': 'w-full p-3 border rounded-md'}}) }}
|
|
</div>
|
|
<div class="mt-6">
|
|
{{ form_widget(form) }}
|
|
</div>
|
|
|
|
<button type="submit" class="bg-teal-500 hover:bg-teal-600 text-white px-6 py-3 rounded-lg mt-4">
|
|
Mettre à jour
|
|
</button>
|
|
|
|
{{ form_end(form) }}
|
|
</div>
|
|
</div>
|
|
{% endblock %} |