* * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ use dektrium\user\widgets\Connect; use yii\helpers\Html; use yii\widgets\ActiveForm; /** * @var yii\web\View $this * @var dektrium\user\models\LoginForm $model * @var dektrium\user\Module $module */ $this->title = Yii::t('user', 'Sign in'); $this->params['breadcrumbs'][] = $this->title; ?> render('/_alert', ['module' => Yii::$app->getModule('user')]) ?>

title) ?>

'login-form', 'enableAjaxValidation' => true, 'enableClientValidation' => false, 'validateOnBlur' => false, 'validateOnType' => false, 'validateOnChange' => false, ]) ?> field( $model, 'login', ['inputOptions' => ['autofocus' => 'autofocus', 'class' => 'form-control', 'tabindex' => '1']] ) ?> field( $model, 'password', ['inputOptions' => ['class' => 'form-control', 'tabindex' => '2']] ) ->passwordInput() ->label( Yii::t('user', 'Password') .($module->enablePasswordRecovery ? ' (' . Html::a( Yii::t('user', 'Forgot password?'), ['/user/recovery/request'], ['tabindex' => '5'] ) . ')' : '') ) ?> field($model, 'rememberMe')->checkbox(['tabindex' => '4']) ?> 'btn btn-primary btn-block', 'tabindex' => '3'] ) ?>
enableConfirmation): ?>

enableRegistration): ?>

['/user/security/auth'], ]) ?>