<h3>Forget password</h3>
<p>Please enter your email and you will receive a reset link</p>

<?= $this->Form->create()?>
    <?= $this->Form->control('email',['required' => true], ['type' => 'email'])?>
    <?= $this->Form->button('Submit')?>
<?= $this->Form->end()?>

<?php if(isset($resetUrl)):?>
    <div class = "alert alert-info">
        <p>Please click the following link to create a new password.</p>
        <a href="<?= h($resetUrl) ?>"><?= h($resetUrl) ?></a>
    </div>
<?php endif;?>
