Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 29, 2019 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/e64f1bedee44b966dce33f96c4a6f37d to your computer and use it in GitHub Desktop.
Save parzibyte/e64f1bedee44b966dce33f96c4a6f37d to your computer and use it in GitHub Desktop.
{% extends "master.twig" %}
{% block titulo %}Login
{% endblock %}
{% block contenido %}
<main class="container-fluid " role="main">
<div class="row">
<div class="col-lg-4 offset-lg-4 col-12">
<h2 class="text-center">Iniciar sesión</h2>
<form method="POST" action="{{URL_RAIZ}}/login">
{% include "componentes/sesion_flash.twig" %}
<div class="form-group">
<input class="form-control" name="correo" placeholder="Correo electrónico" required type="email">
</div>
<div class="form-group">
<input class="form-control" name="palabraSecreta" placeholder="Contraseña" required type="password">
</div>
<button class="btn btn-success" type="submit">Iniciar sesión</button>
<br>
<a class="h5 text-muted" href="{{URL_RAIZ}}/registro">Crear cuenta</a>
-
<a class="h5 text-muted" href="{{URL_RAIZ}}/usuarios/solicitar-nueva-password">Contraseña olvidada</a>
</form>
</div>
</div>
</main>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment