Blame view

frontend/views/site/resetPassword.php 903 Bytes
c237629a   Anastasia   first commit
1
2
3
4
5
6
7
8
9
  <?php
  
  /* @var $this yii\web\View */
  /* @var $form yii\bootstrap\ActiveForm */
  /* @var $model \frontend\models\ResetPasswordForm */
  
  use yii\helpers\Html;
  use yii\bootstrap\ActiveForm;
  
d9c166d7   alex   Перевёл почти все...
10
  $this->title = \Yii::t('app','Reset password');
c237629a   Anastasia   first commit
11
12
13
14
15
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  <div class="site-reset-password">
      <h1><?= Html::encode($this->title) ?></h1>
  
d9c166d7   alex   Перевёл почти все...
16
      <p><?=\Yii::t('app','Please choose your new password:');?></p>
c237629a   Anastasia   first commit
17
18
19
20
21
22
23
24
  
      <div class="row">
          <div class="col-lg-5">
              <?php $form = ActiveForm::begin(['id' => 'reset-password-form']); ?>
  
                  <?= $form->field($model, 'password')->passwordInput(['autofocus' => true]) ?>
  
                  <div class="form-group">
d9c166d7   alex   Перевёл почти все...
25
                      <?= Html::submitButton(\Yii::t('app','Save'), ['class' => 'btn btn-primary']) ?>
c237629a   Anastasia   first commit
26
27
28
29
30
31
                  </div>
  
              <?php ActiveForm::end(); ?>
          </div>
      </div>
  </div>