Blame view

frontend/views/login/forgot.php 1.14 KB
550eac02   Administrator   second
1
  <?php
7ba4acc5   Administrator   after marge
2
  use common\widgets\Alert;
550eac02   Administrator   second
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  use yii\helpers\Url;
  use yii\helpers\Html;
  use yii\grid\GridView;
  use yii\widgets\Breadcrumbs;
  use yii\bootstrap\ActiveForm;
  
  $this->title = 'Забыли пароль?';
  $this->registerMetaTag(['name' => 'description', 'content' => 'Забыли пароль?']);
  $this->registerMetaTag(['name' => 'keywords', 'content' => 'Забыли пароль?']);
  
  ?>
  
  
  <div class="col-md-6 col-md-offset-3">
      <h1><?= Html::encode($this->title) ?></h1>
      <p>Если Вы по каким то причинам забыли свой пароль, то введите пожалуйста свой логин. После чего Вам на почтовый ящик прейдет письмо с вашим паролем.</p>
  
7ba4acc5   Administrator   after marge
20
21
  
      <?= Alert::widget() ?>
550eac02   Administrator   second
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  
      <?php $form = ActiveForm::begin([
          'id' => 'login-form',
          'options' => ['class' => 'well form-vertical'],
          'enableClientScript' => false,
      ]); ?>
  
      <?= $form->field($model, 'username') ?>
  
  
      <?= Html::submitButton('Получить пароль', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
  
  
  
      <?php ActiveForm::end(); ?>
  
3f2bc3d0   Administrator   first commit
38
  </div>