@(account: Option[gitbucket.core.model.Account])(implicit context: gitbucket.core.controller.Context) @import context._ @html.main(if(account.isEmpty) "New User" else "Update User"){ @admin.html.menu("users"){
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):
Image (Optional) @helper.html.uploadavatar(account)
Cancel
} }