requestPasswordResetToken.php 754 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 common\models\User $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">
Alexander Makarov committed
14
	<h1><?= Html::encode($this->title) ?></h1>
15

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

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