45 lines
1.1 KiB
HTML
45 lines
1.1 KiB
HTML
|
{% extends 'authbase' %}
|
||
|
{% block login %}
|
||
|
<h2>Sign In</h2>
|
||
|
<form action="{{ page.auth.login }}" method="POST" class="auth-form" accept-charset="utf-8">
|
||
|
{% include "error_comp" %}
|
||
|
<label class="auth-form__label" for="login">
|
||
|
Username or Email
|
||
|
<input
|
||
|
class="auth-form__input"
|
||
|
name="login"
|
||
|
autofocus
|
||
|
required
|
||
|
id="login"
|
||
|
type="text"
|
||
|
{% if payload.username %}
|
||
|
value={{ payload.username }}
|
||
|
{% endif %}
|
||
|
/>
|
||
|
</label>
|
||
|
|
||
|
<label class="auth-form__label" for="password">
|
||
|
Password
|
||
|
<input
|
||
|
class="auth-form__input"
|
||
|
name="password"
|
||
|
required
|
||
|
id="password"
|
||
|
type="password"
|
||
|
{% if payload.password %}
|
||
|
value={{ payload.password }}
|
||
|
{% endif %}
|
||
|
/>
|
||
|
</label>
|
||
|
<div class="auth-form__action-container">
|
||
|
<a href="">Forgot password?</a>
|
||
|
<button class="auth-form__submit" type="submit">Login</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
<p class="auth-form__alt-action">
|
||
|
New to LibrePages?
|
||
|
<a href="{{ page.auth.register }}">Create an account </a>
|
||
|
</p>
|
||
|
{% endblock %}
|