Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/login.twig

Created Jul 29, 2019
Embed
What would you like to do?
{% 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