{% extends 'admin/layout.html.twig' %} {% block title %}Update email{% endblock %} {% block body %}

Changer votre adresse Email

{{ include('_partials/_flash_message.html.twig') }}
{{ form_start(form) }}
{{ form_label(form.oldEmail, 'Ancienne adresse Email', {'label_attr': {'class':'block mb-2 text-sm font-medium text-gray-900'}}) }} {{ form_widget(form.oldEmail, { 'attr': { 'class': 'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full mb-5 p-2.5' } }) }} {{ form_errors(form.oldEmail) }}
{{ form_label(form.newEmail, 'Nouvelle adresse Email', {'label_attr': {'class':'block mb-2 text-sm font-medium text-gray-900'}}) }} {{ form_widget(form.newEmail, { 'attr': { 'class': 'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5' } }) }} {{ form_errors(form.newEmail) }}
{{ form_row(form.save,{'label': 'Envoyer', 'attr': { 'class': 'text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center', 'value': 'Envoyer' }} ) }}
{{ form_end(form) }}
{% endblock %}