Login
'login-form', 'fieldConfig' => [
'template' => "
{label}
{input}
\n
{error}
",
],
]); ?>
= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
= $form->field($model, 'password')->passwordInput() ?>
= Html::submitButton('Login', ['class' => 'btn btn-primary center-block', 'name' => 'login-button']) ?>