Show More
@@ -1,85 +1,85 b'' | |||||
1 | <div> |
|
1 | <div> | |
2 | ${h.form(url('admin_settings_my_account_update'),method='put')} |
|
2 | ${h.form(url('admin_settings_my_account_update'),method='put')} | |
3 | <div class="form"> |
|
3 | <div class="form"> | |
4 |
|
4 | |||
5 | <div class="field"> |
|
5 | <div class="field"> | |
6 | <div class="gravatar_box"> |
|
6 | <div class="gravatar_box"> | |
7 | <div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div> |
|
7 | <div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div> | |
8 | <p> |
|
8 | <p> | |
9 | %if c.use_gravatar: |
|
9 | %if c.use_gravatar: | |
10 | <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong> |
|
10 | <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong> | |
11 | <br/>${_('Using')} ${c.user.email} |
|
11 | <br/>${_('Using')} ${c.user.email} | |
12 | %else: |
|
12 | %else: | |
13 | <br/>${c.user.email} |
|
13 | <br/>${c.user.email} | |
14 | %endif |
|
14 | %endif | |
15 | </p> |
|
15 | </p> | |
16 | </div> |
|
16 | </div> | |
17 | </div> |
|
17 | </div> | |
18 | <div class="field"> |
|
18 | <div class="field"> | |
19 | <div class="label"> |
|
19 | <div class="label"> | |
20 | <label>${_('API key')}</label> ${c.user.api_key} |
|
20 | <label>${_('API key')}</label> ${c.user.api_key} | |
21 | </div> |
|
21 | </div> | |
22 | </div> |
|
22 | </div> | |
23 | <div class="fields"> |
|
23 | <div class="fields"> | |
24 | <div class="field"> |
|
24 | <div class="field"> | |
25 | <div class="label"> |
|
25 | <div class="label"> | |
26 | <label for="username">${_('Username')}:</label> |
|
26 | <label for="username">${_('Username')}:</label> | |
27 | </div> |
|
27 | </div> | |
28 | <div class="input"> |
|
28 | <div class="input"> | |
29 | ${h.text('username',class_="medium")} |
|
29 | ${h.text('username',class_="medium")} | |
30 | </div> |
|
30 | </div> | |
31 | </div> |
|
31 | </div> | |
32 |
|
32 | |||
33 | <div class="field"> |
|
33 | <div class="field"> | |
34 | <div class="label"> |
|
34 | <div class="label"> | |
35 | <label for="new_password">${_('New password')}:</label> |
|
35 | <label for="new_password">${_('New password')}:</label> | |
36 | </div> |
|
36 | </div> | |
37 | <div class="input"> |
|
37 | <div class="input"> | |
38 | ${h.password('new_password',class_="medium",autocomplete="off")} |
|
38 | ${h.password('new_password',class_="medium",autocomplete="off")} | |
39 | </div> |
|
39 | </div> | |
40 | </div> |
|
40 | </div> | |
41 |
|
41 | |||
42 | <div class="field"> |
|
42 | <div class="field"> | |
43 | <div class="label"> |
|
43 | <div class="label"> | |
44 | <label for="password_confirmation">${_('New password confirmation')}:</label> |
|
44 | <label for="password_confirmation">${_('New password confirmation')}:</label> | |
45 | </div> |
|
45 | </div> | |
46 | <div class="input"> |
|
46 | <div class="input"> | |
47 | ${h.password('password_confirmation',class_="medium",autocomplete="off")} |
|
47 | ${h.password('password_confirmation',class_="medium",autocomplete="off")} | |
48 | </div> |
|
48 | </div> | |
49 | </div> |
|
49 | </div> | |
50 |
|
50 | |||
51 | <div class="field"> |
|
51 | <div class="field"> | |
52 | <div class="label"> |
|
52 | <div class="label"> | |
53 | <label for="name">${_('First Name')}:</label> |
|
53 | <label for="name">${_('First Name')}:</label> | |
54 | </div> |
|
54 | </div> | |
55 | <div class="input"> |
|
55 | <div class="input"> | |
56 | ${h.text('name',class_="medium")} |
|
56 | ${h.text('name',class_="medium")} | |
57 | </div> |
|
57 | </div> | |
58 | </div> |
|
58 | </div> | |
59 |
|
59 | |||
60 | <div class="field"> |
|
60 | <div class="field"> | |
61 | <div class="label"> |
|
61 | <div class="label"> | |
62 | <label for="lastname">${_('Last Name')}:</label> |
|
62 | <label for="lastname">${_('Last Name')}:</label> | |
63 | </div> |
|
63 | </div> | |
64 | <div class="input"> |
|
64 | <div class="input"> | |
65 | ${h.text('lastname',class_="medium")} |
|
65 | ${h.text('lastname',class_="medium")} | |
66 | </div> |
|
66 | </div> | |
67 | </div> |
|
67 | </div> | |
68 |
|
68 | |||
69 | <div class="field"> |
|
69 | <div class="field"> | |
70 | <div class="label"> |
|
70 | <div class="label"> | |
71 | <label for="email">${_('Email')}:</label> |
|
71 | <label for="email">${_('Email')}:</label> | |
72 | </div> |
|
72 | </div> | |
73 | <div class="input"> |
|
73 | <div class="input"> | |
74 | ${h.text('email',class_="medium")} |
|
74 | ${h.text('email',class_="medium")} | |
75 | </div> |
|
75 | </div> | |
76 | </div> |
|
76 | </div> | |
77 |
|
77 | |||
78 | <div class="buttons"> |
|
78 | <div class="buttons"> | |
79 | ${h.submit('save',_('Save'),class_="ui-button")} |
|
79 | ${h.submit('save',_('Save'),class_="ui-button")} | |
80 | ${h.reset('reset',_('Reset'),class_="ui-button")} |
|
80 | ${h.reset('reset',_('Reset'),class_="ui-button")} | |
81 | </div> |
|
81 | </div> | |
82 | </div> |
|
82 | </div> | |
83 | </div> |
|
83 | </div> | |
84 | ${h.end_form()} |
|
84 | ${h.end_form()} | |
85 | </div> No newline at end of file |
|
85 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now