<#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 !usernameHidden??>
<#if messagesPerField.existsError('username')> ${kcSanitize(messagesPerField.get('username'))?no_esc}
<#if realm.rememberMe && !usernameHidden??>
<#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")}