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">
|
2023-04-07 09:44:08 +02:00
|
|
|
<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>
|
2023-04-07 09:44:08 +02:00
|
|
|
{{ macros::input(label='Passwort', name='password', type='password', required=true, class='rounded-t-md') }}
|
2023-04-06 13:56:48 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-04-07 09:44:08 +02:00
|
|
|
{{ 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>
|
2023-04-07 09:44:08 +02:00
|
|
|
<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">
|
2023-04-07 09:44:08 +02:00
|
|
|
{% include "includes/lock-icon" %}
|
2023-04-06 13:56:48 +02:00
|
|
|
</span>
|
|
|
|
Bestätigen
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock content %}
|