{% extends 'layouts/authenticated.html.twig' %} {% block page_title %}Modifier {{ smtp_configuration.name }}{% endblock %} {% block content %}

Modifier la Configuration SMTP

{{ smtp_configuration.name }}

{{ form_start(form, {'attr': {'class': 'space-y-6', 'data-controller': 'form-submit'}}) }}
{{ form_label(form.name, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.name, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm'}}) }} {{ form_errors(form.name) }}
{{ form_label(form.description, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.description, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm', 'rows': '2'}}) }} {{ form_errors(form.description) }}
{{ form_label(form.host, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.host, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm font-mono'}}) }} {{ form_errors(form.host) }}
{{ form_label(form.port, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.port, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm'}}) }} {{ form_errors(form.port) }}
{{ form_label(form.encryption, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }}
{{ form_widget(form.encryption) }}
{{ form_errors(form.encryption) }}
{{ form_widget(form.authRequired, {'attr': {'class': 'focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded'}}) }}
{{ form_label(form.authRequired, null, {'label_attr': {'class': 'font-medium text-gray-700'}}) }}

{{ form.authRequired.vars.help|default('') }}

{{ form_errors(form.authRequired) }}
{{ form_label(form.username, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.username, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm'}}) }} {{ form_errors(form.username) }}
{{ form_label(form.password, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.password, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm', 'placeholder': 'Laisser vide pour ne pas changer'}}) }} {{ form_errors(form.password) }}
{{ form_label(form.fromEmail, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.fromEmail, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm'}}) }} {{ form_errors(form.fromEmail) }}
{{ form_label(form.fromName, null, {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }} {{ form_widget(form.fromName, {'attr': {'class': 'mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm'}}) }} {{ form_errors(form.fromName) }}
{{ form_widget(form.isActive, {'attr': {'class': 'focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300 rounded'}}) }}
{{ form_label(form.isActive, null, {'label_attr': {'class': 'font-medium text-gray-700'}}) }}

{{ form.isActive.vars.help|default('') }}

{{ form_errors(form.isActive) }}
Annuler
{{ form_end(form) }}
{% endblock %}