<#import "template.ftl" as layout> <@layout.registrationLayout displayMessage=!messagesPerField.existsError('username') displayInfo=realm.password && realm.registrationAllowed && !registrationDisabled??; section> <#if section = "header">

${msg("loginAccountTitle")}

<#elseif section = "form">
<#if realm.password>
<#if messagesPerField.existsError('username')> ${kcSanitize(messagesPerField.getFirstError('username'))?no_esc}
<#elseif section = "info"> <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
${msg("noAccount")} ${msg("doRegister")}
<#elseif section = "socialProviders"> <#if realm.password && social?? && social.providers?has_content>

${msg("identity-provider-login-label")}