@(account: Option[gitbucket.core.model.Account], error: Option[Any] = None)(implicit context: gitbucket.core.controller.Context) @gitbucket.core.html.main(if(account.isEmpty) "New user" else "Update user"){ @gitbucket.core.admin.html.menu("users"){ @gitbucket.core.helper.html.error(error)
Username:
@if(account.isDefined){ Disable
}
@if(account.map(_.password.nonEmpty).getOrElse(true)){
Password @if(account.isDefined){ (Input to change password) } :
}
Full Name:
Mail Address:
User Type: Normal Administrator
URL (Optional):
Bio (Optional):
@account.map(_.description)
Image (Optional) @gitbucket.core.helper.html.uploadavatar(account)
@if(account.isEmpty){ } else { } Cancel
} }