{% extends "root.html" %}
{% block content %}
<div class="hero min-h-[70vh]">
<div class="hero-content flex-col lg:flex-row-reverse">
<div class="text-center lg:text-left">
<h1 class="text-5xl font-bold">Forgot password?</h1>
<p class="py-6">Enter the email address of your {{ app_name }} account and we'll mail you a link to choose a new password.</p>
{% if error %}
<div class="alert alert-error" role="alert">
<i class="fas fa-circle-exclamation"></i>
<span>{{ error }}</span>
</div>
{% endif %}
</div>
<div class="card shrink-0 w-full max-w-sm shadow-2xl bg-base-100">
<form class="card-body" action="/password/forgot" method="post" hx-boost="false">
<div class="form-control">
<label class="label"><span class="label-text">Email</span></label>
<input type="email" name="email" placeholder="you@example.com" class="input input-bordered" required autofocus autocomplete="email"/>
</div>
<div class="form-control mt-6">
<button class="btn btn-primary" type="submit"><i class="fas fa-envelope mr-2"></i> Send me a link</button>
</div>
<div class="text-center mt-4">
<p class="text-sm"><a href="/login" class="link link-primary">Back to log in</a></p>
</div>
</form>
</div>
</div>
</div>
{% endblock %}
neiam
/recourse
public · Issues · Pulls · Labels · Forks · Compare · Actions running · Badges · Packages
⭐
Log in to mark this repository.
1.5 KiB · text
History
952e601