<mt:var name="screen_id" value="change-password">
<mt:setvarblock name="page_title"><__trans phrase="Change Password"></mt:setvarblock>
<mt:setvar name="complete" value="1">
<mt:include name="include/chromeless_header.tmpl">
<mt:if name="error">
  <mtapp:statusmsg
     id="error"
     class="error"
     can_close="0">
    <mt:var name="error">
  </mtapp:statusmsg>
</mt:if>

<script type="text/javascript">
/* <![CDATA[ */
<$mt:PasswordValidation form="password_reset_form" password="password" username="username"$>
/* ]]> */
</script>

<form id="password_reset_form" method="post" action="<mt:var name="script_url">">
  <input type="hidden" name="__mode" value="new_pw" />
  <input type="hidden" name="token" value="<mt:var name="token" escape="html">" />
  <input type="hidden" name="email" value="<mt:var name="email" escape="html">" />
  <input type="hidden" name="username" id="username" value="<mt:var name="username" escape="html">" />
  <mtapp:setting
     id="name"
     hint="<__trans phrase="Enter the new password."> (<$mt:PasswordValidationRule$>)"
     show_hint="1"
     label="<__trans phrase="New Password">"
     label_class="top-label">
    <input type="password" name="password" id="password" class="text Password full" value="<mt:var name="password" escape="html">" />
  </mtapp:setting>
  <mtapp:setting
     id="name"
     label="<__trans phrase="Confirm New Password">"
     label_class="top-label">
    <input type="password" name="password_again" id="password_again" class="text Password full" value="<mt:var name="password_again" escape="html">" />
  </mtapp:setting>
  <div class="actions-bar actions-bar-login">
    <button
       type="submit"
       accesskey="s"
       title="<__trans phrase="Change">"
       class="action primary button">
      <__trans phrase="Change">
    </button>
  </div>
</form>
<mt:include name="include/chromeless_footer.tmpl">
