feat(templates): add base layout, login, register, new_review templates; update diary

This commit is contained in:
2026-05-04 13:30:33 +02:00
parent 6e7c6467a7
commit 450468ef3d
6 changed files with 198 additions and 80 deletions

View File

@@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block content %}
<h1>Login</h1>
{% if let Some(err) = error %}
<p class="error">{{ err }}</p>
{% endif %}
<form method="POST" action="/login">
<label>
Email<br>
<input type="email" name="email" required autocomplete="email">
</label>
<label>
Password<br>
<input type="password" name="password" required autocomplete="current-password">
</label>
<button type="submit">Login</button>
</form>
{% endblock %}