rowt/templates/auth/set-pw.html.tera

31 lines
1007 B
Plaintext
Raw Normal View History

2023-04-06 13:56:48 +02:00
{% extends "base" %}
2023-04-04 10:44:14 +02:00
2023-04-06 13:56:48 +02:00
{% block content %}
<div class="w-full max-w-md space-y-8">
<h1 class="mt-6 h1">Passwort setzen</h1>
2023-04-06 13:56:48 +02:00
<form class="mt-8 space-y-6" action="/auth/set-pw" method="post">
<input type="hidden" name="remember" value="true">
<input type="hidden" name="userid" value="{{ userid }}" />
<div class="-space-y-px rounded-md shadow-sm">
<div>
{{ macros::input(label='Passwort', name='password', type='password', required=true, class='rounded-t-md') }}
2023-04-06 13:56:48 +02:00
</div>
<div>
{{ macros::input(label='Passwort bestätigen', name='password_confirm', type='password', required=true, class='rounded-b-md') }}
2023-04-06 13:56:48 +02:00
</div>
</div>
<div>
<button type="submit" class="group relative flex w-full justify-center btn btn-primary">
2023-04-06 13:56:48 +02:00
<span class="absolute inset-y-0 left-0 flex items-center pl-3">
{% include "includes/lock-icon" %}
2023-04-06 13:56:48 +02:00
</span>
Bestätigen
</button>
</div>
</form>
</div>
{% endblock content %}