@cSection class='pt-5'> <@cContainer class='mt-md-5 pt-md-5'> <@cRow class='justify-content-center align-items-center'> <@cCol class='12 col-sm-5'> <@cCard title='#i18n{mylutece.xpage.login_form.pageTitle}' titleClass='h2 ms-3' id='' > <@cForm action='${url_dologin}' class='mx-3 mt-md-5' > <#if list_authentications?exists> <#if error_message!=""><@cAlert class='warning' title=error_message dismissible=false>${error_detail}@cAlert> #if> <#-- first display delegated authentications [oauth etc...]--> <#list list_authentications as authentication> <#if authentication.delegatedAuthentication> <@cField> ${authentication.authServiceName} @cField> #if> #list> <#-- display internal authentications [such as database]--> <#assign bHasInternalAuth = false /> <#if list_authentications?size != 1> <#list list_authentications as authentication> <#if !authentication.externalAuthentication && !authentication.delegatedAuthentication> <#if !bHasInternalAuth> <#assign bHasInternalAuth = true /> #if> <@cField> <#if auth_provider?has_content && auth_provider = authentication.name>