#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Template for adding a user account -->
> Add new 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 errorExternalAuthIdInUse??>
<#assign errorMessage = "An account with that external authorization ID already exists." />
#if>
<#if errorFirstNameIsEmpty??>
<#assign errorMessage = "You must supply a first name." />
#if>
<#if errorLastNameIsEmpty??>
<#assign errorMessage = "You must supply a last name." />
#if>
<#if errorNoRoleSelected??>
<#assign errorMessage = "You must select a role." />
#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>
${stylesheets.add('')}
${stylesheets.add('')}