finance-consumer/bookkeeper/templates/login.html.j2
2025-02-22 16:59:51 +08:00

18 lines
370 B
Django/Jinja

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录</title>
</head>
<body>
<h1>登录页面</h1>
{% if error %}
<p style="color: red;">{{ error }}</p>
{% endif %}
<form action="/login" method="post">
<label>密码:<input type="password" name="password"></label>
<button type="submit">登录</button>
</form>
</body>
</html>