Blame view

backend/modules/user/views/password/requestResetToken.php 691 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
20
21
22
  <?php
  use yii\helpers\{
      Html, Url
  };
  use thread\app\bootstrap\ActiveForm;
  
  ?>
  
  <?php $form = ActiveForm::begin([
      'id' => 'request-password-reset-form',
      'class' => 'm-t',
  //    'action' => Url::toRoute(['/user/password/request-reset']),
  ]); ?>
  <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']) ?>
      <?= Html::a(Yii::t('app', 'Cancel'), Url::toRoute(['/']), ['class' => 'btn btn-primary block full-width m-b']) ?>
  </div>
  
  <?php ActiveForm::end(); ?>