[Corrige] espacio entre los atributos y agrega el campo oculto csrf en login
This commit is contained in:
parent
f0843d2248
commit
d966a5edf0
|
@ -6,7 +6,7 @@
|
|||
'pages/login/login.css',
|
||||
) ?>
|
||||
<?php $desktop_styles = array(
|
||||
array('pages/signup/signup-desktop.css', 'attributes' => 'media="screen and (min-width: 900px)"'),
|
||||
array('pages/signup/signup-desktop.css', 'attributes' => 'media="screen and (min-width: 900px)"'),
|
||||
) ?>
|
||||
<?php $scripts = array() ?>
|
||||
<?php require_once 'views/components/head.php' ?>
|
||||
|
@ -26,6 +26,8 @@
|
|||
</section>
|
||||
<section class="form__container">
|
||||
<form class="form__sign-up" method="POST" action="<?= NABU_ROUTES['login'] ?>">
|
||||
<input type="hidden" name="csrf" value="<?= $token ?>">
|
||||
|
||||
<label for="identity">
|
||||
<input class="sign-up__input" type="text" id="identity" name="identity" minlength="1" maxlength="255" autofocus required aria-label="Ingresa tu nombre de usuario o correo" autocomplete="username">
|
||||
<span class="name__field">Nombre de usuario o correo electrónico</span>
|
||||
|
@ -37,11 +39,11 @@
|
|||
</label>
|
||||
|
||||
<div class="sign-up__container">
|
||||
<input class="sign-up__button"type="submit"name="signup-submit" value="Iniciar sesión" aria-label="Registrar">
|
||||
<input class="sign-up__button" type="submit" name="signup-submit" value="Iniciar sesión" aria-label="Registrar">
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<p class="form__already">¿No tienes cuenta?
|
||||
<p class="form__already">¿No tienes una cuenta?
|
||||
<a href="<?= NABU_ROUTES['signup'] ?>">Registrate</a>.
|
||||
</p>
|
||||
</form>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<?php $scripts = array() ?>
|
||||
<?php require_once 'views/components/head.php' ?>
|
||||
|
||||
|
||||
<?php require_once 'views/components/messages.php' ?>
|
||||
<div class="wrapper">
|
||||
<div class="content">
|
||||
|
@ -44,7 +43,6 @@
|
|||
<span class="name__field">Correo(institucional)</span>
|
||||
</label>
|
||||
|
||||
|
||||
<label for="password">
|
||||
<input class="sign-up__input" type="password" id="password" name="password" minlength="6" maxlength="255" required aria-label="Ingresa tu contraseña">
|
||||
<span class="name__field">Contraseña</span>
|
||||
|
|
Loading…
Reference in a new issue