<!--
SPDX-FileCopyrightText: 2025 Max Mehl <https://mehl.mx>

SPDX-License-Identifier: GPL-3.0-only
-->

{% extends "base.html" %}

{% block content %}
<h2>Login</h2>
{% if error %}
<p style="color: red">{{ error }}</p>
{% endif %}
<form method="post">
  <label for="username">Username</label>
  <input name="username" type="text" autofocus required>
  <label for="password">Password</label>
  <input name="password" type="password" required>
  <button type="submit">Login</button>
</form>
{% endblock %}
