templates/Seguridades/auth/login/login.html.twig line 1

Open in your IDE?
  1. {% extends 'login_base.html.twig' %}
  2.     {% block image %}
  3.         <div class="img-left d-none d-lg-flex">
  4.             <img src="{{ asset(logoUrl) }}" alt="imagen" width="330" height="330">
  5.         </div>
  6.     {% endblock %}
  7.     
  8.     {% block login %}
  9.         <div class="card-body">
  10.             <h4 class="title text-center mt-4">Iniciar Sesión</h4>
  11.             {% if message %}
  12.                 <div>
  13.                     <p style="color:red;" class="alert alert-danger col-12">{{message}}</p>
  14.                 </div>
  15.             {% endif %}
  16.                 <form action="{{ path('login') }}" method="post" class="form-box px-3" name="login">
  17.             <div class="form-input">
  18.                 <span><i class="fas fa-user"></i></span>
  19.                 <input type="text" placeholder="Usuario" id="username" name="_username" value="{{ last_username }}" tabindex="10" required>
  20.             </div>
  21.             <div class="form-input">
  22.                 <span><i class="fas fa-lock"></i></span>
  23.                 <input type="password" placeholder="Contraseña" id="password" name="_password" required autocomplete="off">
  24.             </div>
  25.             <div class="mb-3">
  26.                 <input type="submit" value="Ingresar" name="_ingresar" class="btn btn-block text-uppercase">
  27.                 <input type="hidden" name="_target_path" value="/access_control">
  28.             </div>
  29.             
  30.             <div class="text-right">
  31.                 <a href="{{ path('recuperacion') }}" class="forget-link">¿Olvidaste tu contraseña?</a>
  32.             </div>
  33.             <div class="text-right">
  34.                 <a href="{{ path('addPersonExternal') }}" class="forget-link">Registrarse</a>
  35.             </div>
  36.                 <hr class="my-4">
  37.         </form>
  38.                 <div class="text-right">
  39.                     <a href="{{ path('connect_google') }}" class="forget-link">Iniciar Sesión con Gmail</a>
  40.                 </div>
  41.         </div>
  42.     {% endblock %}
  43.     
  44.     {% block javascript %}
  45.     {% endblock %}
  46.