<#import "template.ftl" as layout> <@layout.mainLayout active='account' bodyClass='user'; section>

## ${msg("editAccountHtmlTitle")}

* ${msg("requiredFields")}
<#if !realm.registrationEmailAsUsername>
${msg("username")} <#if realm.editUsernameAllowed>*
disabled="disabled" value="${(account.username!'')}"/>
${msg("email")} *
${msg("firstName")} *
${msg("lastName")} *
<#if url.referrerURI??>${kcSanitize(msg("backToApplication")?no_esc)}

## ${msg("changeAvatarHtmlTitle")}

<#assign avatarUrl = url.accountUrl?replace("^(.*)(/account/?)(\\?(.*))?$", "$1/avatar-provider/?account&$4", 'r') /> ${msg("avatarFileSizeMessage")}';this.replaceWith(div)" />
${msg("avatarFileTooBig")} ${msg("avatarFileSizeMessage")}

## ${msg("deleteAccountHtmlTitle")}

<#assign deleteUrl = url.accountUrl?replace("^(.*)(/account/?)(\\?(.*))?$", "$1/delete-account/delete?$4", 'r') />
${msg("deleteAccountMessage")}
${msg("deleteAccountWarningTitle")}
${msg("deleteAccountWarningMessage")}