Blame view

backend/modules/user/views/ownpassword/requestResetToken.php 544 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <?php
  use yii\helpers\Html;
  use thread\app\bootstrap\ActiveForm;
  use yii\bootstrap\Alert;
  
  echo Alert::widget();
  
  $form = ActiveForm::begin([
      'id' => 'request-password-reset-form',
      'class' => 'm-t'
  ]); ?>
      <p class="text-center"><?= Yii::t('user', 'Please fill out your email') ?></p>
  <?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
  
      <div class="form-group">
          <?= Html::submitButton(Yii::t('app', 'Send'), ['class' => 'btn btn-primary block full-width m-b']) ?>
      </div>
  
  <?php ActiveForm::end();