source: OpenWorkouts-current/ow/templates/change_password.pt @ e547af5

currentfeature/docs
Last change on this file since e547af5 was e547af5, checked in by Borja Lopez <borja@…>, 5 years ago

Fixed title on the "change password" page

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xml:lang="en"
3      xmlns:tal="http://xml.zope.org/namespaces/tal"
4      xmlns:metal="http://xml.zope.org/namespaces/metal"
5      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6      i18n:domain="OpenWorkouts"
7      metal:use-macro="load: base.pt"
8      tal:attributes="lang request.locale_name">
9
10  <metal:head-title metal:fill-slot="head-title">
11    <tal:t i18n:translate="">Change password</tal:t>
12  </metal:head-title>
13
14  <metal:title metal:fill-slot="title">
15    <tal:t i18n:translate="">Change password</tal:t>
16  </metal:title>
17
18  <metal:content metal:fill-slot="content">
19
20      <div class="change-password ow-forms">
21        <a href="" tal:attributes="href request.resource_url(context, 'profile')"
22             class="back"
23             i18n:translate="">Cancel</a>
24        <h2 i18n:translate="">Change password</h2>
25
26          ${form.begin()}
27          ${form.csrf_token()}
28
29          <fieldset>
30              <div>
31                  <label for="old_password" i18n:translate="">
32                      Old/current password</label>
33                  ${form.errorlist('old_password')}
34                  ${form.password('old_password')}
35              </div>
36
37            <div class="input-container ly-flex ly-2 has-gap">
38              <div>
39                  <label for="password" i18n:translate="">
40                      New password</label>
41                  ${form.errorlist('password')}
42                  ${form.password('password')}
43                </div>
44                <div>
45                  <label for="password_confirm" i18n:translate="">
46                      New password (again)</label>
47                  ${form.errorlist('password_confirm')}
48                  ${form.password('password_confirm')}
49              </div>
50            </div>
51          </fieldset>
52
53          <p>
54              ${form.submit("submit", "Change password",  **{'class':"button button-normal"})}
55
56          </p>
57          ${form.end()}
58      </div>
59
60  </metal:content>
61
62</html>
Note: See TracBrowser for help on using the repository browser.