Du xml valide, c'est mieux :-D
[Plinn.git] / skins / custom_generic / password_form.pt
1 <html metal:use-macro="here/main_template/macros/master">
2 <head>
3 <title>Password Form</title>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
5 </head>
6 <body>
7 <div class="config" metal:fill-slot="main_no_tabs" i18n:domain="cmf_default" tal:define="member python: here.portal_membership.getAuthenticatedMember()">
8 <h1 i18n:translate="">Change your Password</h1>
9 <div class="error"
10 tal:replace="request/error"
11 tal:condition="request/error|nothing"><hr /></div>
12
13 <form action="change_password" method="post"
14 tal:attributes="action string:${here/absolute_url}/change_password"
15 >
16 <table class="TwoColumnForm" cellspacing="0">
17 <tr>
18 <th i18n:translate="">Username</th>
19 <td><span tal:replace="member/getUserName">You</span>
20 </td>
21 </tr>
22 <tr>
23 <th i18n:translate="">New password</th>
24 <td><input type="password" name="password" />
25 </td>
26 </tr>
27 <tr>
28 <th i18n:translate="">Confirm new password</th>
29 <td><input type="password" name="confirm" />
30 </td>
31 </tr>
32 <tr>
33 <td><br /></td>
34 <td>
35 <input type="submit" value="Change" i18n:attributes="value" />
36 </td>
37 </tr>
38 </table>
39 </form>
40
41 </div>
42 </body>
43 </html>
44