= Html::encode($this->title) ?>
Please fill out the following fields to login:
'login-form',
'layout' => 'horizontal',
'fieldConfig' => [
'template' => "{label}\n{input}\n{error}",
'labelOptions' => ['class' => 'col-lg-1 col-form-label mr-lg-3'],
'inputOptions' => ['class' => 'col-lg-3 form-control'],
'errorOptions' => ['class' => 'col-lg-7 invalid-feedback'],
],
]); ?>
= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
= $form->field($model, 'password')->passwordInput() ?>
= $form->field($model, 'rememberMe')->checkbox([
'template' => "
{input} {label}
\n
{error}
",
]) ?>
You may login with admin/admin or demo/demo.
To modify the username/password, please check out the code app\models\User::$users
.