rvr-nextgen/views/login/login.php

21 lines
1.2 KiB
PHP
Raw Normal View History

2023-04-08 00:42:55 +02:00
@extends(templates/layout_normal)
@section(main)
<h2>Login</h2>
<div class="box">
2023-04-16 20:54:29 +02:00
<form id="loginForm" action="<?= Container::$routeCollection->getRoute('login-action')->generateLink() ?>" method="post" data-redirect-on-success="<?= $redirectUrl ?>">
2023-04-09 01:35:40 +02:00
<input type="text" class="text big fullWidth" name="email" placeholder="Email address / Username" required autofocus>
2023-04-08 00:42:55 +02:00
<input type="password" class="text big fullWidth marginTop" name="password" placeholder="Password" required minlength="6">
<p id="loginFormError" class="formError justify marginTop"></p>
<div class="right marginTop">
<button type="submit">Login</button>
</div>
2023-04-16 20:54:29 +02:00
<p class="center marginTop"><a href="<?= Container::$routeCollection->getRoute('password-requestReset')->generateLink() ?>" title="Request password reset">Forgot your password?</a></p>
2023-04-08 00:42:55 +02:00
<hr>
<div class="center">
2023-04-16 20:54:29 +02:00
<a class="button yellow" href="<?= Container::$routeCollection->getRoute('login-google')->generateLink() ?>" title="Login with Google">Login with Google</a>
2023-04-08 00:42:55 +02:00
</div>
</form>
</div>
@endsection