Déplacement pour eggification.
[Plinn.git] / Products / Plinn / skins / custom_generic / password_form.pt
diff --git a/Products/Plinn/skins/custom_generic/password_form.pt b/Products/Plinn/skins/custom_generic/password_form.pt
new file mode 100755 (executable)
index 0000000..ae276cf
--- /dev/null
@@ -0,0 +1,44 @@
+<html metal:use-macro="here/main_template/macros/master">
+<head>
+  <title>Password Form</title>
+  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+</head>
+<body>
+<div class="config" metal:fill-slot="main_no_tabs" i18n:domain="plinn" tal:define="member python: here.portal_membership.getAuthenticatedMember()">
+  <h1 i18n:translate="">Change your Password</h1>
+<div class="error"
+     tal:replace="request/error"
+     tal:condition="request/error|nothing"><hr /></div>
+
+<form action="change_password" method="post"
+      tal:attributes="action string:${here/absolute_url}/change_password"
+>
+<table class="TwoColumnForm" cellspacing="0">
+ <tr>
+  <th i18n:translate="">Username</th>
+  <td><span tal:replace="member/getUserName">You</span>
+  </td>
+ </tr>
+ <tr>
+  <th i18n:translate="">New password</th>
+  <td><input type="password" name="password" />
+  </td>
+ </tr>
+          <tr>
+  <th i18n:translate="">Confirm new password</th>
+  <td><input type="password" name="confirm" />
+  </td>
+ </tr>
+          <tr>
+  <td><br /></td>
+  <td>
+   <input type="submit" value="Change" i18n:attributes="value" />
+  </td>
+ </tr>
+        </table>
+</form>
+
+</div>
+</body>
+</html>
+