Source

pypi / templates / password_reset_change.pt

Full commit
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:use-macro="standard_template/macros/page">
  <metal:fill fill-slot="body">
    <p>Please enter your new account password below.</p>

    <p tal:condition="data/retry | nothing">
      <strong tal:content="data/retry" />
    </p>

    <form tal:attributes="action app/url_path" method="POST">
      <input type="hidden" name=":action" value="pw_reset_change" />
      <input type="hidden" name="otk" tal:attributes="value data/otk" />
      <table class="form">
    <tr>
      <th>Password:</th>
      <td><input type="password" name="password" />
      </td>
    </tr>
    <tr>
      <th>Password again:</th>
      <td><input type="password" name="confirm" /></td>
    </tr>
    <tr>
      <td></td>
      <td><input type="submit" value="Set Password" /></td>
    </tr>
      </table>
    </form>
  <p>Please ensure your password is of a reasonable length (>8 characters) and
    mixes letters, cases and numbers. Please don't use the same password
    as with other services.</p>
  </metal:fill>
</html>