resetPassword.php 710 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 8 9 10 11 12
 * @var yii\widgets\ActiveForm $form
 * @var common\models\User $model
 */
$this->title = 'Reset password';
$this->params['breadcrumbs'][] = $this->title;
?>
Alexander Makarov committed
13
<div class="site-reset-password">
Alexander Makarov committed
14
	<h1><?= Html::encode($this->title) ?></h1>
15

Alexander Makarov committed
16
	<p>Please choose your new password:</p>
17

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