Files
Kontrollverlust/templates/auth/register.html
T

16 lines
615 B
HTML

<h2>Neuen Account registrieren</h2>
<form hx-post="/auth/newuser" hx-target="#auth-rendertarget" method="post">
<input type="text" name="user" placeholder="Nutzername" value="{{ username }}"><br>
<input type="password" name="pass1" placeholder="Passphrase"><br>
<input type="password" name="pass2" placeholder="Passphrase wiederholen"><br>
<label><input type="checkbox" name="pass2"> Ich bin mit der <a href="">Datenschutzerklärung</a> einverstanden!</label>
<button type="submit">Account registrieren!</button>
<div>
{% for r in responses %}
{{ r }} <br>
{% endfor %}
</div>
</form>