#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Template for editing a user account -->
My account
<#if errorEmailIsEmpty??>
<#assign errorMessage = "You must supply an email address." />
#if>
<#if errorEmailInUse??>
<#assign errorMessage = "An account with that email address already exists." />
#if>
<#if errorEmailInvalidFormat??>
<#assign errorMessage = "'${emailAddress}' is not a valid email address." />
#if>
<#if errorFirstNameIsEmpty??>
<#assign errorMessage = "You must supply a first name." />
#if>
<#if errorLastNameIsEmpty??>
<#assign errorMessage = "You must supply a last name." />
#if>
<#if errorPasswordIsEmpty??>
<#assign errorMessage = "No password supplied." />
#if>
<#if errorPasswordIsWrongLength??>
<#assign errorMessage = "Password must be between ${minimumLength} and ${maximumLength} characters." />
#if>
<#if errorPasswordsDontMatch??>
<#assign errorMessage = "Passwords do not match." />
#if>
<#if errorMessage?has_content>
${errorMessage}
#if>
<#if confirmChange??>
<#assign confirmMessage = "Your changes have been saved." />
#if>
<#if confirmEmailSent??>
<#assign confirmMessage = "Your changes have been saved. A confirmation email has been sent to ${emailAddress}." />
#if>
<#if confirmMessage?has_content>