Code

Add "action" attributes to forms.
[roundup.git] / templates / classic / html / user.forgotten.html
1 <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title">Password reset request</title>
4 <td class="page-header-top" metal:fill-slot="body_title">
5  <h2>Password reset request</h2>
6 </td>
7 <td class="content" metal:fill-slot="content">
9 <p>You have two options if you have forgotten your password. If you 
10 know the email address you registered with, enter it below.</p>
12 <form method="POST" onSubmit="return submit_once()"
13       tal:attributes="action context/designator">
14     <table class="form">
15       <tr>
16         <th>Email Address:</th>
17         <td><input name="address"></td>
18       </tr>
19       <tr>
20         <td>&nbsp;</td>
21         <td>
22           <input type="hidden" name="@action" value="passrst">
23           <input type="hidden" name="@template" value="forgotten">
24           <input type="submit" value="Request password reset">
25         </td>
26       </tr>
27 </table>
29 <p>Or, if you know your username, then enter it below.</p>
31 <table class="form">
32  <tr><th>Username:</th> <td><input name="username"></td> </tr>
33  <tr><td></td><td><input type="submit" value="Request password reset"></td></tr>
34 </table>
35 </form>
37 <p>A confirmation email will be sent to you - please follow the
38 instructions
39 within it to complete the reset process.</p>
40 </td>
42 </tal:block>