{include file='r_basic/header.tpl' title=$i.auth_resetbutler}
{include file='r_basic/head.tpl' title=$i.auth_resetbutler}

{*}<div class="story">
    <div class="warning ui-corner-all" style="border: 3px dashed red;">
        {$i.pages_logoff_warning|markdown}
    </div>
</div>{*}

<form action="{site_url url="auth/resetbutler"}" method="post" id="loginform">
    {if isset($error_main)}
        {foreach from=$error_main item='error'}
        <p><label class="errorbig">
            {$error}
        </label></p>
        {/foreach}
    {/if}
        {include file='r/select.tpl' name="auth_butler_page" title="auth_butler_page"
            list=$portlet_pages id="id" text="name" isEmpty=TRUE default="1" class=""}
    <hr style="width:330px;" />
    {if $login_force_username}
        {include file='r/input.tpl' name="login_username" title="auth_username" default=$staff_last_login_name class="required"}
    {else}
        {include file='r/select.tpl' name="login_userid" title="auth_user"
            list=$staff_list id="id" text="fullname" default=$staff_last_login class="required"}
        {/if}
    {include file='r/password.tpl' name="login_password" title="auth_password" class="us_password"}
    <input type="hidden" name="login_id" value="{$auth_login_hash}" />
    {include file='r_icons/login.tpl'}
</form>

{include file='r_basic/footer.tpl'}