requestPasswordResetToken.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Author: lf
  4. * Blog: https://blog.feehi.com
  5. * Email: job@feehi.com
  6. * Created at: 2017-03-15 21:16
  7. */
  8. /* @var $this yii\web\View */
  9. /* @var $form yii\bootstrap\ActiveForm */
  10. /* @var $model \backend\models\form\PasswordResetRequestForm */
  11. use yii\helpers\Html;
  12. use yii\bootstrap\ActiveForm;
  13. $this->title = Yii::t('app', 'Request password reset');
  14. $this->params['breadcrumbs'][] = $this->title;
  15. ?>
  16. <div class="site-request-password-reset">
  17. <h1><?= Html::encode($this->title) ?></h1>
  18. <p><?= Yii::t('app', 'Please fill out your email. A link to reset password will be sent there.') ?></p>
  19. <div class="row">
  20. <div class="col-lg-5">
  21. <?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?>
  22. <?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
  23. <div class="form-group">
  24. <?= Html::submitButton(Yii::t('app', 'Send'), ['class' => 'btn btn-primary']) ?>
  25. </div>
  26. <?php ActiveForm::end(); ?>
  27. </div>
  28. </div>
  29. </div>