csrfKey"}"> {{if $ref}} {{endif}} {{$usernamePasswordMethods = $login->usernamePasswordMethods();}} {{$buttonMethods = $login->buttonMethods();}} {{if $usernamePasswordMethods and $buttonMethods}} {{if $error}}
{lang="$error"}
{{endif}}
{{if !request.isAjax()}}

{lang='sign_in_short'}

{{if \IPS\Login::registrationType() != 'disabled'}}

{lang="dont_have_an_account"} {{if \IPS\Login::registrationType() == 'redirect'}} {{else}} {{endif}} {lang="sign_up"}


{{endif}} {{endif}} {template="loginForm" app="core" group="system" params="$login"}

{lang="sign_in_faster"}

{{if \count( $buttonMethods ) > 1}}

{lang='sign_in_with_these'}

{{endif}}
{{foreach $buttonMethods as $method}}
{$method->button()|raw}
{{endforeach}}
{{elseif $usernamePasswordMethods}}
{{if $error}}

{lang="$error"}

{{endif}}
{{if !request.isAjax()}}

{lang='sign_in_short'}

{{if \IPS\Login::registrationType() != 'disabled'}}

{lang="dont_have_an_account"} {{if \IPS\Login::registrationType() == 'redirect'}} {{else}} {{endif}} {lang="sign_up"}


{{endif}} {{endif}} {template="loginForm" app="core" group="system" params="$login"}
{{elseif $buttonMethods}}
{{if $error}}

{lang="$error"}

{{endif}}
{{foreach $buttonMethods as $method}}
{$method->button()|raw}
{{endforeach}}
{{endif}}