summaryrefslogtreecommitdiffstats
path: root/authentication/templates/login.html
blob: dcc0efd839222fa59bf294ca986dd0abfec22734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% extends "./base.html" %}
{% import 'macros.html' as ui %}

{% block content %}
    <h1>Sign in</h1>
    <p class="auth-form__intro">Enter your credentials to manage this server.</p>
    <form method="post">
        {{ ui.field('username', label='Username', value=form.username if form else '', error=errors.username if errors else '') }}
        {{ ui.field('password', type='password', label='Password', error=errors.password if errors else '') }}
        {{ ui.button('Sign in') }}
    </form>
    <p class="auth-switch">New here? <a href="/auth/register/">Create an account</a></p>
{% endblock %}