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