{{define "user x"}}User {{.}}{{end}} {{define "title"}}{{template "user x" .U.Name}}{{end}} {{define "body"}}

{{.U.Name}}

{{if .Form.HasError}}
{{template "error"}}: {{.Form.Error}}
{{end}}

{{block "change group" .}}Change group{{end}}

{{block "change password" .}}Change password{{end}}

{{if eq .U.Source "local"}}

{{else}}

{{block "non local password change" .}}Non-local accounts cannot have their passwords changed.{{end}}

{{end}}

{{block "delete user" .}}Delete user{{end}}

{{block "delete user tip" .}}Remove the user from the database. Changes made by the user will be preserved. It will be possible to take this username later.{{end}}

{{template "delete"}}
{{end}}