<form action="user/password/reset/[% reset_uid %]" method="post" name="password_reset_form">

<div class="yui-gb top_padded">
    <div class="yui-u first align_right">
        &nbsp;
    </div>
    <div class="yui-u" style="text-align:justify;">
        [%l('PASSWORD RESET')%]
    </div>
    <div class="yui-u">
        &nbsp;
    </div>
</div>

        [%- IF view.error.messages %]
        <p>
            <ul>
                [% FOREACH message IN view.error.messages %]
                    <li>[% message %]</li>
                [% END %]
            </ul>
        </p>
        [% END %]

    <fieldset>
        <div class="yui-gb top_padded">
            <div class="yui-u first align_right">
                <label>[%l('Name')%]:</label>
            </div>
            <div class="yui-u">
                <input type="text" value="[% reset_user.first_name %] [% reset_user.last_name %]" tabindex="1" readonly="readonly" disabled="disabled" size="40" />
            </div>
            <div class="yui-u">
                &nbsp;
            </div>
        </div>

        <div class="yui-gb top_padded">
            <div class="yui-u first align_right">
                <label for="reset_username">[%l('Username')%]:</label>
            </div>
            <div class="yui-u">
                <input type="text" name="reset_username" id="reset_username" size="40" tabindex="2" />
            </div>
            <div class="yui-u">
                &nbsp;
            </div>
        </div>

        <div class="yui-gb top_padded">
            <div class="yui-u first align_right">
                <label for="new_password">[%l('New Password')%]:</label>
            </div>
            <div class="yui-u">
                <input type="password" name="new_password" id="new_password" size="40" tabindex="3" />
            </div>
            <div class="yui-u">
                &nbsp;
            </div>
        </div>

        <div class="yui-gb top_padded">
            <div class="yui-u first align_right">
                <label for="confirm_password">[%l('Confirm Password')%]:</label>
            </div>
            <div class="yui-u">
                <input type="password" name="confirm_password" id="confirm_password" size="40" tabindex="4" />
            </div>
            <div class="yui-u">
                &nbsp;
            </div>
        </div>

        <div class="yui-gb top_padded">
            <div class="yui-u first">
                &nbsp;
            </div>
            <div class="yui-u">
                <button type="submit" class="input_button" tabindex="5" name="reset_password" />[%l('Reset My Password')%]</button>
            </div>
            <div class="yui-u">
                &nbsp;
            </div>
        </div>
    </fieldset>
</form>

<!-- put focus into the username field on the form above -->
<script language="text/javascript">
    <!-- Begin
    document.forms['password_reset_form'].elements['reset_username'].focus();
    // End -->
</script>

