first commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Registrieren{% endblock %}
|
||||
{% block content %}
|
||||
<div class="auth-card">
|
||||
<h1>Konto erstellen</h1>
|
||||
<p class="auth-sub">Lege einen neuen Benutzer für die Haushalts-Ausgaben an.</p>
|
||||
|
||||
{% if error %}
|
||||
<div class="alert alert-error">{{ error }}</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="{{ url_for('bp.register_view') }}" class="form">
|
||||
<label for="username">Benutzername</label>
|
||||
<input id="username" name="username" type="text" required autofocus autocomplete="username" />
|
||||
|
||||
<label for="password">Passwort</label>
|
||||
<input id="password" name="password" type="password" required autocomplete="new-password" minlength="6" />
|
||||
|
||||
<button type="submit" class="btn btn-primary w-100">Registrieren</button>
|
||||
</form>
|
||||
|
||||
<p class="auth-switch">
|
||||
Bereits ein Konto? <a href="{{ url_for('bp.login') }}">Anmelden</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user