= $form->field($model, 'username')->label('用户名')->textInput(['autofocus' => true]) ?>
= $form->field($model, 'password')->passwordInput()->label('密码') ?>
= $form->field($model, 'rememberMe')->checkbox()->label('记住本次登录') ?>
= Html::submitButton('登录', ['class' => 'btn btn-primary']) ?>
= Html::a('还没有账户? 点击注册', ['user/register']) ?>