@(account: Option[gitbucket.core.model.Account], error: Option[Any] = None)(implicit context: gitbucket.core.controller.Context) @import context._ @html.main(if(account.isEmpty) "New User" else "Update User"){ @admin.html.menu("users"){ @helper.html.error(error)
@if(account.isDefined){
}
@if(account.map(_.password.nonEmpty).getOrElse(true)){
}
@helper.html.uploadavatar(account)
Cancel
} }