28 line
825B

  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\ResetPasswordForm */
  7. $this->title = 'Reset password';
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="site-reset-password">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <p>Please choose your new password:</p>
  13. <div class="row">
  14. <div class="col-lg-5">
  15. <?php $form = ActiveForm::begin(['id' => 'reset-password-form']); ?>
  16. <?= $form->field($model, 'password')->passwordInput() ?>
  17. <div class="form-group">
  18. <?= Html::submitButton('Save', ['class' => 'btn btn-primary']) ?>
  19. </div>
  20. <?php ActiveForm::end(); ?>
  21. </div>
  22. </div>
  23. </div>