| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- /*
- * This file is part of the Dektrium project.
- *
- * (c) Dektrium project <http://github.com/dektrium>
- *
- * For the full copyright and license information, please view the LICENSE.md
- * file that was distributed with this source code.
- */
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- /**
- * @var yii\web\View $this
- * @var yii\widgets\ActiveForm $form
- * @var dektrium\user\models\RecoveryForm $model
- */
- $this->title = Yii::t('user', 'Recover your password');
- $this->params['breadcrumbs'][] = $this->title;
- $this->params['body-class']['class'] = 'login-page';
- ?>
- <div class="login-box">
- <div class="login-logo">
- <?= Html::encode($this->title) ?>
- </div>
- <!-- /.login-logo -->
- <div class="card">
- <div class="card-body login-card-body">
- <?= $this->render('/_alert', ['module' => Yii::$app->getModule('user')]) ?>
- <?php $form = ActiveForm::begin([
- 'id' => 'password-recovery-form',
- 'enableAjaxValidation' => true,
- 'enableClientValidation' => false,
- ]); ?>
- <?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
- <?= Html::submitButton(Yii::t('user', 'Continue'), ['class' => 'btn btn-primary btn-block']) ?>
- <?php ActiveForm::end(); ?>
- </div>
- <!-- /.login-card-body -->
- </div>
- </div>
|