@(userName: Option[Any] = None,
password: Option[Any] = None,
error: Option[Any] = None)(implicit context: gitbucket.core.controller.Context)
@gitbucket.core.html.main("Sign in"){
<div class="content-wrapper main-center">
<div class="content body">
<div class="signin-form">
@if(context.settings.basicBehavior.allowAnonymousAccess){
@context.settings.information.map { information =>
<div class="alert alert-info" style="background-color: white; color: #555; border-color: #4183c4; font-size: small; line-height: 120%;">
<button type="button" class="close" data-dismiss="alert">×</button>
@Html(information)
</div>
}
}
@gitbucket.core.helper.html.error(error)
@gitbucket.core.html.signinform(context.settings, userName, password)
</div>
</div>
</div>
}