Mercurial > kallithea
annotate rhodecode/templates/admin/users/user_edit_my_account_form.html @ 2544:6ce3387bf0ce beta
Renamed name to firstname in forms
- added multiple test for edit my account and edit user from admin
- fixed issues with update user accounts from admin
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 04 Jul 2012 18:13:25 +0200 |
parents | 86aa4f1f130b |
children | 7ae36df760ce |
rev | line source |
---|---|
2353
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 <div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 ${h.form(url('admin_settings_my_account_update'),method='put')} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 <div class="form"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 <div class="gravatar_box"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 <div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 <p> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 %if c.use_gravatar: |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 <strong>${_('Change your avatar at')} <a href="http://gravatar.com">gravatar.com</a></strong> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 <br/>${_('Using')} ${c.user.email} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 %else: |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 <br/>${c.user.email} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 %endif |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 </p> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 <label>${_('API key')}</label> ${c.user.api_key} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 <div class="fields"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 <label for="username">${_('Username')}:</label> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 <div class="input"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 ${h.text('username',class_="medium")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
33 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
35 <label for="new_password">${_('New password')}:</label> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 <div class="input"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 ${h.password('new_password',class_="medium",autocomplete="off")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
39 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
41 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
42 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
43 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
44 <label for="password_confirmation">${_('New password confirmation')}:</label> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
45 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
46 <div class="input"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
47 ${h.password('password_confirmation',class_="medium",autocomplete="off")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
48 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
49 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
50 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
51 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
52 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
53 <label for="name">${_('First Name')}:</label> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
54 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
55 <div class="input"> |
2544
6ce3387bf0ce
Renamed name to firstname in forms
Marcin Kuzminski <marcin@python-works.com>
parents:
2367
diff
changeset
|
56 ${h.text('firstname',class_="medium")} |
2353
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
57 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
58 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
59 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
60 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
61 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
62 <label for="lastname">${_('Last Name')}:</label> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
63 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
64 <div class="input"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
65 ${h.text('lastname',class_="medium")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
66 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
67 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
68 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
69 <div class="field"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
70 <div class="label"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
71 <label for="email">${_('Email')}:</label> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
72 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
73 <div class="input"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
74 ${h.text('email',class_="medium")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
75 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
76 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
77 |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
78 <div class="buttons"> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
79 ${h.submit('save',_('Save'),class_="ui-button")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
80 ${h.reset('reset',_('Reset'),class_="ui-button")} |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
81 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
82 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
83 </div> |
ef71d7e63806
highly improved performance of my_account page by removing super heavy htmlfill call on whole page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
84 ${h.end_form()} |
2367
86aa4f1f130b
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2353
diff
changeset
|
85 </div> |