Location: PHPKode > projects > Arbit > templates/html/core/user/login.tpl
{use $model, $root = $model->request->root, $project = $model->request->controller}
<h2>Login</h2>
<p>
    Login with your credentials using the method you registered with.
</p>

{include 'html/core/errors.tpl' 
    send $model->errors as $errors}

<ul class="authtypes">
{foreach $model->mechanisms as $name => $type}
    <li {if $type === $model->selected}class="selected"{/if}
        id="{$type}"><a href="{$root}/{$project}/core/login/{$type}" title="{$name}">
        {$name}
    </a></li>
{/foreach}
</ul>

<form method="post" action="{$root}/{$project}/core/login/{$model->selected}">
    <fieldset>
        {include arbit_get_template( 'html/core/user/login/' . $model->selected . '.tpl' )
            send $root, $project}
        <input type="hidden" name="_arbit_form_token" value="{arbit_form_token()}" />
        <div class="break"></div>
    </fieldset>
</form>

Return current item: Arbit