Skip to content

Instantly share code, notes, and snippets.



Created Jul 29, 2019
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 class="form-group">
<input class="form-control" name="palabraSecreta" placeholder="Contraseña" required type="password">
<button class="btn btn-success" type="submit">Iniciar sesión</button>
<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>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment