@(account: Option[gitbucket.core.model.Account], extraMailAddresses: List[String], 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:
Additional Mail Address: @extraMailAddresses.zipWithIndex.map { case (mail, idx) => }
User Type: Normal Administrator
URL (Optional):
Bio (Optional):
@account.map(_.description)
Image (Optional) @gitbucket.core.helper.html.uploadavatar(account)
@if(account.isEmpty){ } else { } Cancel
} }