'login-form']); ?>
= $form->field($model, 'username', [
'options' => [
'class' => 'input-field'
]
])->textInput(['autofocus' => true]) ?>
= $form->field($model, 'password',[
'options' => [
'class' => 'input-field'
]
])->passwordInput() ?>
= $form->field($model, 'rememberMe', [
'template' => '
{input}{label}
{error}'
])->checkbox([], false) ?>
If you forgot your password you can = Html::a('reset it', ['site/request-password-reset']) ?>.
= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>