resetPassword.php 947 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. /**
  9. * @var $this yii\web\View
  10. * @var $model common\models\AdminUser
  11. */
  12. use yii\helpers\Html;
  13. use yii\bootstrap\ActiveForm;
  14. $this->title = Yii::t('app', 'Reset Password');
  15. $this->params['breadcrumbs'][] = $this->title;
  16. ?>
  17. <div class="site-reset-password">
  18. <h1><?= Html::encode($this->title) ?></h1>
  19. <p><?= Yii::t('app', 'Please choose your new password') ?>:</p>
  20. <div class="row">
  21. <div class="col-lg-5">
  22. <?php $form = ActiveForm::begin(['id' => 'reset-password-form']); ?>
  23. <?= $form->field($model, 'password')->passwordInput(['autofocus' => true]) ?>
  24. <div class="form-group">
  25. <?= Html::submitButton(Yii::t('app', 'Save'), ['class' => 'btn btn-primary']) ?>
  26. </div>
  27. <?php ActiveForm::end(); ?>
  28. </div>
  29. </div>
  30. </div>