# <#if properties.titleTag?has_content>${properties.titleTag}<#else>${msg("loginTitle",(realm.displayName!''))}</#if>

<#macro registrationLayout bodyClass="" displayInfo=false displayMessage=true displayRequiredFields=false displayWide=false>
lang="${locale.currentLanguageTag}"> <#if properties.meta?has_content> <#list properties.meta?split(' ') as meta> <#if properties.stylesCommon?has_content> <#list properties.stylesCommon?split(' ') as style> <#if properties.styles?has_content> <#list properties.styles?split(' ') as style> <#if properties.scripts?has_content> <#list properties.scripts?split(' ') as script>
<#if scripts??> <#list scripts as script>
<#if authenticationSession??>
<#if client?? && client.getClientId()!='account'> "> <#if properties.logoSrc?has_content> <#else>

# <#if client.getName()?has_content && client.getName()?starts_with("${")>${kcSanitize(msg(client.getName()?keep_after("{")?keep_before("}")))} <#else>${(client.getName()!client.getClientId()!"undefined client")?capitalize?keep_before('.')}

<#if properties.infrastructureLogo?has_content && properties.infrastructureLogo='yes'>
<#-- App-initiated actions should not see warning messages about the need to complete the action --> <#-- during login. --> <#if displayMessage && message?has_content && (message.type != 'warning' || !isAppInitiatedAction??)>
<#if message.type = 'success'> <#if message.type = 'warning'> <#if message.type = 'error'> <#if message.type = 'info'>
${kcSanitize(message.summary)?no_esc}
<#nested "form"> <#if auth?has_content && auth.showTryAnotherWayLink()>
${msg("doTryAnotherWay")}
<#nested "socialProviders"> <#if displayInfo>
<#nested "info">