<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- Template for adding a user account --> <#assign strings = i18n() />

${strings.user_accounts_link} > ${strings.add_new_account}

<#if errorEmailIsEmpty??> <#assign errorMessage = strings.error_no_email /> <#elseif errorEmailInUse??> <#assign errorMessage = strings.error_email_already_exists /> <#elseif errorEmailInvalidFormat??> <#assign errorMessage = strings.error_invalid_email(emailAddress) /> <#elseif errorExternalAuthIdInUse??> <#assign errorMessage = strings.error_external_auth_already_exists /> <#elseif errorFirstNameIsEmpty??> <#assign errorMessage = strings.error_no_first_name /> <#elseif errorLastNameIsEmpty??> <#assign errorMessage = strings.error_no_last_name /> <#elseif errorNoRoleSelected??> <#assign errorMessage = strings.error_no_role /> <#elseif errorPasswordIsEmpty??> <#assign errorMessage = strings.error_no_password /> <#elseif errorPasswordIsWrongLength??> <#assign errorMessage = strings.error_password_length(minimumLength, maximumLength) /> <#elseif errorPasswordsDontMatch??> <#assign errorMessage = strings.error_password_mismatch /> <#if errorMessage?has_content>
<#include "userAccounts-associateProfilePanel.ftl">

checked />${strings.external_auth_only}

${strings.roles} *

<#list roles as role>
<#if emailIsEnabled??>

${strings.new_account_note}

<#else>

${strings.minimum_password_length}

${strings.or} ${strings.cancel_link}

* ${strings.required_fields}

${stylesheets.add('')} ${stylesheets.add('')} ${scripts.add('')}