fridge_bites/apps/Users/Templates/forgot_password.php

35 lines
1.1 KiB
PHP

<?php the_header(
'Password Recovery',
'',
'login-register',
[
['robots', 'nofollow, noindex']
]) ?>
<div class="container">
<div class="login__inner">
<h1 class="title">Password Recovery</h1>
<p class="recovery-info">Enter your email to receive a secure link to reset your password. The link will be valid for a limited time.</p>
<form class="form" method="post">
<?php
if(isset($context['error_message']))
the_alert($context['error_message']);
if(isset($context['success_message']))
the_alert($context['success_message'], 'success');
?>
<label for="field_username">E-mail <span>*</span></label>
<div class="input">
<input type="email" name="email" id="field_username" required>
</div>
<div class="login-choice">
<a class="hover-anim" href="<?php the_permalink('users:login') ?>">Login</a>
<button class="btn btn-primary hover-anim" type="submit">Send</button>
</div>
</form>
</div>
</div>
<?php the_footer() ?>