This commit is contained in:
2025-09-12 09:02:09 +02:00
parent 8db70323a1
commit db6b16d261
3 changed files with 286 additions and 160 deletions

View File

@@ -2,16 +2,17 @@
{% block title %}Login{% endblock %}
{% block page_title %}Anmelden{% endblock %}
{% block content %}
<form method="post" action="{{ url_for('login') }}" class="auth-form">
<label for="username">Benutzername</label>
<input type="text" id="username" name="username" required>
<label for="password">Passwort</label>
<input type="password" id="password" name="password" required>
<button type="submit">Login</button>
</form>
<p>Noch keinen Account? <a href="{{ url_for('register') }}">Jetzt registrieren</a>.</p>
<form method="post" action="{{ url_for('login') }}" class="auth-form">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
<div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<p>Noch keinen Account? <a href="{{ url_for('register') }}">Jetzt registrieren</a>.</p>
{% endblock %}