23 lines
703 B
HTML

{% extends "base.html" %}
{% block title %}Login{% endblock %}
{% block content %}
<article style="max-width: 400px; margin: 4rem auto;">
<h1>Login</h1>
{% if error %}
<p style="color: var(--red)">{{ error }}</p>
{% endif %}
<form method="post" action="/login">
<label>
Username
<input type="text" name="username" required autocomplete="username">
</label>
<label>
Password
<input type="password" name="password" required autocomplete="current-password">
</label>
<button type="submit">Login</button>
</form>
<p>No account? <a href="/register">Register</a></p>
</article>
{% endblock %}