requestPasswordResetToken.php 870 Bytes
Newer Older
1 2 3 4 5
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/**
Alexander Makarov committed
6
 * @var yii\web\View $this
7
 * @var yii\widgets\ActiveForm $form
8
 * @var \frontend\models\PasswordResetRequestForm $model
9 10 11 12
 */
$this->title = 'Request password reset';
$this->params['breadcrumbs'][] = $this->title;
?>
Alexander Makarov committed
13
<div class="site-request-password-reset">
14
    <h1><?= Html::encode($this->title) ?></h1>
15

16
    <p>Please fill out your email. A link to reset password will be sent there.</p>
17

18 19 20 21 22 23 24 25 26 27
    <div class="row">
        <div class="col-lg-5">
            <?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?>
                <?= $form->field($model, 'email') ?>
                <div class="form-group">
                    <?= Html::submitButton('Send', ['class' => 'btn btn-primary']) ?>
                </div>
            <?php ActiveForm::end(); ?>
        </div>
    </div>
Alexander Makarov committed
28
</div>