d0db692924aa30c0a17f32c22ac8477c922676c5
[Plinn.git] / skins / generic / password_reset_template.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal"
3 xmlns:metal="http://xml.zope.org/namespaces/metal"
4 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
5 <head>
6 <title>Password reset form</title>
7 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
8
9 </head>
10 <body i18n:domain="plinn">
11 <div metal:fill-slot="main_no_tabs"
12 tal:define="form options/form"
13 id="Desktop">
14 <form method="post" tal:attributes="action form/action">
15 <div tal:condition="not: options/passwordChanged" tal:omit-tag="">
16 <h2 i18n:translate="">Password resetting</h2>
17 <table class="TwoColumnForm">
18 <tr>
19 <td colspan="2">
20 <dl class="FieldHelp">
21 <dd i18n:translate="">
22 Please choose a new password.
23 </dd>
24 </dl>
25 </td>
26 </tr>
27 <tr>
28 <th i18n:translate="">New Password</th>
29 <td>
30 <input type="password" name="password"/>
31 </td>
32 </tr>
33 <tr>
34 <th i18n:translate="">Confirm New Password</th>
35 <td>
36 <input type="password" name="confirm"/>
37 </td>
38 </tr>
39 <tr>
40 <td><br/></td>
41 <td>
42 <metal:macro metal:use-macro="context/form_widgets/macros/hidden_vars"/>
43 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
44 </td>
45 </tr>
46 </table>
47 </div>
48 <div tal:condition="options/passwordChanged" tal:omit-tag="">
49 <h2 i18n:translate="">Password changed</h2>
50 <p i18n:translate="">
51 Your password has been successfully reset. You can log in
52 immediately by clicking the "Login" button.
53 </p>
54 <metal:macro metal:use-macro="context/form_widgets/macros/hidden_vars"/>
55 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
56 </div>
57 </form>
58 </div>
59 </body>
60 </html>