{{ define "title" }}Edit User {{ .Form.User.Name }}{{ end }} {{ define "main" }} {{ $form := .Form }} {{ $user := .User }}
{{ if .Form.FieldErrors.name }} {{ .Form.FieldErrors.name }} {{ end }}
{{ range .Form.MailAddresses }} {{ end }}
{{ if not (eq $form.ReminderMail .) }} {{ end }}
{{ if .Form.FieldErrors.reminder_mail }} {{ .Form.FieldErrors.reminder_mail }} {{ end }} Add new email address
{{ range .Form.AllRoles }} {{ $currentRole := . }}
{{ end }} {{ if .Form.FieldErrors.roles }} {{ .Form.FieldErrors.roles }} {{ end }}
{{ if .Form.FieldErrors.reasoning }} {{ .Form.FieldErrors.reasoning }} {{ end }}
Cancel
{{ end }}