<fieldset><legend>Set a new password:</legend>

<noscript><h3>NOTE: Javascript is needed!</h3></noscript>

<form method="post" action="" name="login" onsubmit="return check();">
  {{ form.as_p }}
  <br />
  <input type="submit" value="{% trans 'submit' %}" />
</form>
</fieldset>

<script language="javascript" type="text/javascript" src="{{ PyLucid_media_url }}shared_sha_tools.js" onerror="alert('JS-lib error!');"></script>
<script language="javascript" type="text/javascript" src="{{ PyLucid_media_url }}sha.js" onerror="alert('JS-lib error!');"></script>
{{ sha_js }}
<script type="text/javascript">
    debug_msg = {{ debug }};
    salt_1 = '{{ salt_1 }}';
    salt_2 = '{{ salt_2 }}';
    focus_id = 'id_username';
    init();
</script>