Blame view

backend/modules/user/views/ownpassword/reset.php 568 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?php
  
  use yii\helpers\Html;
  use thread\app\bootstrap\ActiveForm;
  
  /**
   * @var $this yii\web\View
   * @var $model \frontend\modules\user\models\form\ResetPasswordForm
   */
  $form = ActiveForm::begin(['id' => 'reset-password-form']); ?>
      <p class="text-center">
          <?= Yii::t('user', 'Please choose your new password:') ?>
      </p>
  <?= $form->field($model, 'password')->passwordInput(['autofocus' => true]) ?>
      <div class="form-group">
          <?= Html::submitButton(Yii::t('app', 'Save'), ['class' => 'btn btn-primary']) ?>
      </div>
  <?php ActiveForm::end();