diff --git a/templates/registration/register.html.twig b/templates/registration/register.html.twig index 9bcd612..c5ce8d1 100644 --- a/templates/registration/register.html.twig +++ b/templates/registration/register.html.twig @@ -3,23 +3,31 @@ {% block title %}Inscription{% endblock %} {% block body %} -

Inscription

+
+
+

Inscription

+
- {{ form_start(registrationForm) }} - {{ form_row(registrationForm.email) }} -
-
- {{ form_row(registrationForm.nom) }} + {{ form_start(registrationForm) }} +
+ {{ form_row(registrationForm.email) }} +
+
+ {{ form_row(registrationForm.nom) }} +
+
+ {{ form_row(registrationForm.prenom) }} +
+
+ {{ form_row(registrationForm.plainPassword, { + label: 'Mot de passe' + }) }}
-
- {{ form_row(registrationForm.prenom) }} + + + {{ form_end(registrationForm) }}
- {{ form_row(registrationForm.plainPassword, { - label: 'Mot de passe' - }) }} - - - - {{ form_end(registrationForm) }} {% endblock %} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 5ac306d..7881fc9 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -1,45 +1,42 @@ {% extends 'base.html.twig' %} -{% block title %}Log in!{% endblock %} +{% block title %}Se connecter{% endblock %} {% block body %} -
-

Veuillez-vous connecter

- {% if error %} -
{{ error.messageKey|trans(error.messageData, 'security') }}
- {% endif %} - - {% if app.user %} -
- You are logged in as {{ app.user.userIdentifier }}, Logout -
- {% endif %} - - - - - - - - - {# - Uncomment this section and add a remember_me option below your firewall to activate remember me functionality. - See https://symfony.com/doc/current/security/remember_me.html - -
- + +
+

Se connecter

- #} - S'incrire - +
+ {% if error %} +
{{ error.messageKey|trans(error.messageData, 'security') }}
+ {% endif %} + + {% if app.user %} +
+ You are logged in as {{ app.user.userIdentifier }}, Logout +
+ {% endif %} + + + + + + + +
+ + {% endblock %}