Blame view

frontend/views/site/login.php 926 Bytes
27b0cb06   Administrator   VItaliy 02.12.2015
1
2
3
4
5
6
7
8
9
10
11
12
  <?php
  
  use yii\widgets\ActiveForm;
  use \yii\helpers\Html;
  use common\models\UserLoginForm;
  use \yii\helpers\ArrayHelper;
  use \common\models\DicCities;
  use \common\models\Deliveries;
  use yii\captcha\Captcha;
  
  
  ?>
404dc799   OlenaKl   login_form
13
  <div id="form_login" >
27b0cb06   Administrator   VItaliy 02.12.2015
14
15
16
              <?php $form = ActiveForm::begin(['id' => 'enter_form','class'=>'cmxform','action' => '/site/login']); ?>
              <fieldset>
                  <h3>Вход в личный кабинет</h3>
a9976bee   Administrator   VItaliy 03.12.2015
17
18
19
                  <?= $form->field($model, 'email')->label(false) ?>
                  <?= $form->field($model, 'pass')->passwordInput()->label(false)  ?>
                  <?= $form->field($model, 'rememberMe')->checkbox() ?>
27b0cb06   Administrator   VItaliy 02.12.2015
20
21
22
23
24
                  <?= Html::a('Забыли пароль?', ['site/request-password-reset']) ?>
                  <?= Html::submitButton('Submit', ['class' => 'purple', 'name' => 'login-button']) ?>
              </fieldset>
              <?php ActiveForm::end(); ?>
  </div>