templates/security/login.html.twig line 1
{% extends 'base2.html.twig' %}{% block title %}Connectez-vous !{% endblock %}{% block body %}<section><div class="container mx-auto"><divclass="grid lg:grid-cols-2 grid-cols-1 gap-10 bg-white p-10 items-center rounded-lg"><imgclass="w-full lg:block hidden rounded-2xl"src="images/commercants2.webp"alt=""/><div class=""><div class="text-center mb-6"><a href="/"><imgclass="w-50 mx-auto h-aFlogoututo mb-2"src="../img/bos_logo.png"alt=""/></a><h1 class="text-gray-700 text-3xl font-semibold mb-3">Connectez-vous à votre espace</h1><p class="text-base text-gray-500 mb-7">Si vous souhaitez vous inscrire<a href="{{ path('app_shop_new') }}" class="text-blue-500 font-medium">c'est par ici !</a></p></div><form method="post">{% if error %}<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>{% endif %}{% if app.user %}<div class="mb-3">You are logged in as {{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a></div>{% endif %}<div class=""><label for="inputEmail" class="text-gray-700 font-medium mb-1">Votre email <sup>*</sup></label><div class="relative mb-5"><svgxmlns="http://www.w3.org/2000/svg"class="h-5 w-4 text-gray-400 absolute top-1/2 -translate-y-1/2 ml-3"fill="none"viewBox="0 0 24 24"stroke="currentColor"stroke-width="2"><pathstroke-linecap="round"stroke-linejoin="round"d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/></svg><inputtype="email"value="{{ last_username }}"name="email"id="inputEmail"class="border pl-9 border-gray-200 dark:border-gray-800 dark:text-gray-300 rounded-lg dark:bg-foreground py-4 focus:outline-none w-full"placeholder="Entrez votre email"autocomplete="email"required autofocus/></div><label for="inputPassword" class="text-gray-700 font-medium mb-1">Mot de passe <sup>*</sup></label><div class="relative mb-5"><svgclass="h-5 w-4 text-gray-400 absolute top-1/2 -translate-y-1/2 ml-3"xmlns="http://www.w3.org/2000/svg"class="h-6 w-6"fill="none"viewBox="0 0 24 24"stroke="currentColor"stroke-width="2"><pathstroke-linecap="round"stroke-linejoin="round"d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"/></svg><inputtype="password"name="password"id="inputPassword"class="border pl-9 border-gray-200 dark:border-gray-800 dark:text-gray-300 rounded-lg dark:bg-foreground py-4 focus:outline-none w-full"placeholder="Entrez votre mot de passe"autocomplete="current-password"required/></div><input type="hidden" name="_csrf_token"value="{{ csrf_token('authenticate') }}"><div class="flex justify-between flex-wrap mb-3">{#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<div class="mb-3"><inputtype="checkbox"id="vehicle1"name="_remember_me"value="Bike"class="border border-gray-500"/><label for="vehicle1" class="text-gray-500 font-normal">Remember me?</label></div>#}<a href="{{ path('app_forgot_password_request') }}" class="text-red-500 mb-3">Mot de passe oublié ?</a></div><buttontype="submit"class="w-full flex justify-center items-center bg-blue-500 hover:bg-blue-600 rounded-lg text-white p-4 mb-7">Se connecter</button></form></div></section>{% endblock %}