{{$buttonMethods = $login->buttonMethods();}} {{$usernamePasswordMethods = $login->usernamePasswordMethods();}} {{$ref = \IPS\Request::i()->externalref ?: base64_encode( \IPS\Request::i()->url() ); }} {{if $orientation == 'vertical'}}

{$title}

{$text|raw}

{{if $usernamePasswordMethods}} {{endif}} {{if $buttonMethods}}
csrfKey"}"> {{foreach $buttonMethods as $method}}
{$method->button()|raw}
{{endforeach}}
{{endif}}
{{else}}

{$title}

{$text|raw}
{{if $usernamePasswordMethods}} {{endif}}
{{if $buttonMethods}}
csrfKey"}"> {{foreach $buttonMethods as $method}}
{$method->button()|raw}
{{endforeach}}
{{endif}}
{{endif}}