Авторизируйтесь для начала работы
'login-form']) ?>
= $form->field($model,'username', [
'options' => ['class' => 'form-group has-feedback'],
'inputTemplate' => '{input}
',
'template' => '{beginWrapper}{input}{error}{endWrapper}',
'wrapperOptions' => ['class' => 'input-group mb-3']
])
->label(false)
->textInput(['placeholder' => $model->getAttributeLabel('username')]) ?>
= $form->field($model, 'password', [
'options' => ['class' => 'form-group has-feedback'],
'inputTemplate' => '{input}
',
'template' => '{beginWrapper}{input}{error}{endWrapper}',
'wrapperOptions' => ['class' => 'input-group mb-3']
])
->label(false)
->passwordInput(['placeholder' => $model->getAttributeLabel('password')]) ?>
= $form->field($model, 'rememberMe')->checkbox([
'template' => '
{input}{label}
',
'labelOptions' => [
'class' => ''
],
'uncheck' => null
]) ?>
= Html::submitButton('Вход', ['class' => 'btn btn-primary btn-block']) ?>
Забыл пароль
= Html::a("Регистрация", \yii\helpers\Url::to(['site/signup']), ['class' => 'text-center']) ?>