resetPassword.php 821 Bytes
Newer Older
1 2 3 4
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

5 6 7 8
/* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */
/* @var $model \frontend\models\ResetPasswordForm */

9 10 11
$this->title = 'Reset password';
$this->params['breadcrumbs'][] = $this->title;
?>
Alexander Makarov committed
12
<div class="site-reset-password">
13
    <h1><?= Html::encode($this->title) ?></h1>
14

15
    <p>Please choose your new password:</p>
16

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