您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

requestPasswordResetToken.php 876B

123456789101112131415161718192021222324252627
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\bootstrap\ActiveForm;
  4. /* @var $this yii\web\View */
  5. /* @var $form yii\bootstrap\ActiveForm */
  6. /* @var $model \frontend\models\PasswordResetRequestForm */
  7. $this->title = 'Request password reset';
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="site-request-password-reset">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <p>Please fill out your email. A link to reset password will be sent there.</p>
  13. <div class="row">
  14. <div class="col-lg-5">
  15. <?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?>
  16. <?= $form->field($model, 'email') ?>
  17. <div class="form-group">
  18. <?= Html::submitButton('Send', ['class' => 'btn btn-primary']) ?>
  19. </div>
  20. <?php ActiveForm::end(); ?>
  21. </div>
  22. </div>
  23. </div>