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

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

<#elseif section = "info" > <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
${msg("noAccount")} ${msg("doRegister")}