resetPassword.php 1.2 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 frontend\models\form\ResetPasswordForm */
  11. use yii\helpers\Html;
  12. use yii\bootstrap\ActiveForm;
  13. $this->title = Yii::t('app', 'Reset Password') . '-' . Yii::$app->feehi->website_title;
  14. $this->params['breadcrumbs'][] = $this->title;
  15. ?>
  16. <div class="content-wrap">
  17. <div class="fill">
  18. <h1><?= Html::encode($this->title) ?></h1>
  19. <p><?= Yii::t('app', 'Please choose your new password') ?>:</p>
  20. <div class="row">
  21. <ul class="formInput">
  22. <?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?>
  23. <?= $form->field($model, 'password', ['template' => "<li class='item'>{label}{input}\n{error}\n{hint}</li>"])->textInput(['autofocus' => true]) ?>
  24. <div class="submitButton"">
  25. <?= Html::submitButton(Yii::t('app', 'Save'), ['class' => 'btn btn-primary']) ?>
  26. </div>
  27. <?php ActiveForm::end(); ?>
  28. </>
  29. </div>
  30. </div>
  31. </div>