{% extends "root.html" %}
{% block content %}
<div class="max-w-xl mx-auto space-y-4 text-left">
<h1 class="text-3xl font-bold">Email verification</h1>
{% if result == "verified" %}
<div class="alert alert-success">
<i class="fas fa-check-circle"></i>
<span>Thanks{% if username %}, {{ username }}{% endif %} — your email address is verified. You can now post, reply, react and bookmark.</span>
</div>
<a href="/" class="btn btn-primary btn-sm">Go to the forum</a>
{% elif result == "expired" %}
<div class="alert alert-warning">
<i class="fas fa-clock"></i>
<span>This link has expired.{% if user %} Send yourself a new one below.{% else %} Log in and send a new one from your profile.{% endif %}</span>
</div>
{% else %}
<div class="alert alert-error">
<i class="fas fa-circle-exclamation"></i>
<span>This link isn't valid: it may have been used already, or replaced by a newer one.</span>
</div>
{% endif %}
{% if result != "verified" %}
{% if user and not user.email_verified_at %}
<form method="post" action="/verify-email/resend" hx-boost="false">
<button type="submit" class="btn btn-sm btn-outline">Resend verification email</button>
</form>
{% elif not user %}
<a href="/login" class="btn btn-sm btn-ghost">Log in</a>
{% endif %}
{% endif %}
</div>
{% endblock %}
neiam
/recourse
public · Issues · Pulls · Labels · Forks · Compare · Actions running · Badges · Packages
⭐
Log in to mark this repository.
1.4 KiB · text
History
de2cabc