27 lines
1.1 KiB
PHP
27 lines
1.1 KiB
PHP
<?php $pageTitle = 'Forgot Password — NixPanel'; ?>
|
|||
|
|
|
||
|
|
<div class="min-h-[80vh] flex items-center justify-center px-4 py-16">
|
||
|
|
<div class="w-full max-w-md">
|
||
|
|
<div class="text-center mb-8">
|
||
|
|
<h1 class="text-3xl font-bold text-white">Reset your password</h1>
|
||
|
|
<p class="text-gray-400 mt-2">We'll send a reset link to your email</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="card">
|
||
|
|
<form method="POST" action="/forgot-password" class="space-y-4">
|
||
|
|
<?= csrf_field() ?>
|
||
|
|
<div>
|
||
|
|
<label class="block text-sm text-gray-400 mb-1.5">Email address</label>
|
||
|
|
<input type="email" name="email" required autofocus
|
||
|
|
class="input" placeholder="[email protected]">
|
||
|
|
</div>
|
||
|
|
<button type="submit" class="btn-primary w-full justify-center py-3">Send reset link</button>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<p class="text-center text-sm text-gray-500 mt-6">
|
||
|
|
<a href="/login" class="text-brand-400 hover:underline">Back to sign in</a>
|
||
|
|
</p>
|
||
|
|
</div>
|
||
|
|
</div>
|