[5ec3a0b] | 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"> |
---|
[f7abb54] | 19 | |
---|
| 20 | <div class="change-password ow-forms"> |
---|
[b05824e] | 21 | <a href="" tal:attributes="href request.resource_url(context, 'profile')" |
---|
| 22 | class="back" |
---|
| 23 | i18n:translate="">Cancel</a> |
---|
| 24 | <h2 i18n:translate="">Edit profile</h2> |
---|
[f7abb54] | 25 | ${form.begin()} |
---|
| 26 | ${form.csrf_token()} |
---|
| 27 | |
---|
| 28 | <fieldset> |
---|
| 29 | <p> |
---|
| 30 | <label for="old_password" i18n:translate=""> |
---|
| 31 | Old/current password:</label> |
---|
| 32 | ${form.errorlist('old_password')} |
---|
| 33 | ${form.password('old_password')} |
---|
| 34 | </p> |
---|
| 35 | </fieldset> |
---|
| 36 | |
---|
| 37 | <fieldset> |
---|
| 38 | <p> |
---|
| 39 | <label for="password" i18n:translate=""> |
---|
| 40 | New password:</label> |
---|
| 41 | ${form.errorlist('password')} |
---|
| 42 | ${form.password('password')} |
---|
| 43 | <label for="password_confirm" i18n:translate=""> |
---|
| 44 | New password (again):</label> |
---|
| 45 | ${form.errorlist('password_confirm')} |
---|
| 46 | ${form.password('password_confirm')} |
---|
| 47 | </p> |
---|
| 48 | </fieldset> |
---|
| 49 | |
---|
| 50 | <p> |
---|
| 51 | ${form.submit("submit", "Change password", **{'class':"button button-normal"})} |
---|
[b05824e] | 52 | |
---|
[f7abb54] | 53 | </p> |
---|
| 54 | ${form.end()} |
---|
| 55 | </div> |
---|
[5ec3a0b] | 56 | |
---|
| 57 | </metal:content> |
---|
| 58 | |
---|
| 59 | </html> |
---|