#import "template.ftl" as layout>
<#import "components/atoms/form.ftl" as form>
<#import "components/atoms/link.ftl" as link>
<@layout.registrationLayout displayInfo=false; section>
<#if section="header">
${msg("loginChooseAuthenticator")}
<#elseif section="form">
<@form.kw action=url.loginAction method="post" x\-ref="selectCredentialForm">
<#list auth.authenticationSelections as authenticationSelection>
<@link.kw
@click="$refs.authExecInput.value = '${authenticationSelection.authExecId}'; $refs.selectCredentialForm.submit()"
color="primary"
component="button"
type="button"
>
${msg("${authenticationSelection.displayName}")}
@link.kw>
${msg("${authenticationSelection.helpText}")}
#list>
@form.kw>
#if>
@layout.registrationLayout>