{{define "profile_edit_content"}} {{with .UserProfile}} {{ range (index $.FormInfos "infos")}}
× {{ . }}
{{end}} {{ range (index $.FormErrors "errors")}}
× {{ . }}
{{end}}

{{ call $.T "personal_info"}}

{{ block "csrf_field" $ }}{{end}}

{{.APIToken}}

Reset Api key



{{ range (index $.FormErrors "email")}}

{{ . }}

{{end}}

{{ range (index $.FormErrors "language")}}

{{ . }}

{{end}} {{ if not (HasAdmin $.User)}}

{{ range (index $.FormErrors "current_password")}}

{{ . }}

{{end}} {{end}}

{{ range (index $.FormErrors "password")}}

{{ . }}

{{end}}

{{ range (index $.FormErrors "password_confirmation")}}

{{ . }}

{{end}}

{{ call $.T "preferences"}}



{{ range (index $.FormErrors "theme")}}

{{ . }}

{{end}} {{ with .Settings }} {{ if DefaultUserSettings "new_torrent"}}

{{ range (index $.FormErrors "new_torrent")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_torrent_email"}}

{{ range (index $.FormErrors "new_torrent_email")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_comment"}}

{{ range (index $.FormErrors "new_comment")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_comment_email"}}

{{ range (index $.FormErrors "new_comment_email")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_responses"}}

{{ range (index $.FormErrors "new_responses")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_responses_email"}}

{{ range (index $.FormErrors "new_responses_email")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_follower"}}

{{ range (index $.FormErrors "new_follower")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "new_follower_email"}}

{{ range (index $.FormErrors "new_follower_email")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "followed"}}

{{ range (index $.FormErrors "followed")}}

{{ . }}

{{end}} {{end}} {{ if DefaultUserSettings "followed_email"}}

{{ range (index $.FormErrors "followed_email")}}

{{ . }}

{{end}} {{end}} {{end}} {{ if HasAdmin $.User}}

{{ call $.T "moderation"}}


{{ range (index $.FormErrors "username")}}

{{ . }}

{{end}} {{ range (index $.FormErrors "status")}}

{{ . }}

{{end}} {{end}}
{{ if CurrentOrAdmin $.User .ID }}
{{ call $.T "delete_account"}} {{end}} {{end}} {{end}}