Show More
@@ -1,101 +1,101 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="/base/base.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('User administration')} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <%def name="breadcrumbs_links()"> |
|
9 | 9 | ${h.link_to(_('Admin'),h.url('admin_home'))} |
|
10 | 10 | » |
|
11 | 11 | ${h.link_to(_('Users'),h.url('users'))} |
|
12 | 12 | » |
|
13 | 13 | ${_('edit')} "${c.user.username}" |
|
14 | 14 | </%def> |
|
15 | 15 | |
|
16 | 16 | <%def name="page_nav()"> |
|
17 | 17 | ${self.menu('admin')} |
|
18 | 18 | </%def> |
|
19 | 19 | |
|
20 | 20 | <%def name="main()"> |
|
21 | 21 | <div class="box"> |
|
22 | 22 | <!-- box / title --> |
|
23 | 23 | <div class="title"> |
|
24 | 24 | ${self.breadcrumbs()} |
|
25 | 25 | </div> |
|
26 | 26 | <!-- end box / title --> |
|
27 | 27 | ${h.form(url('user', id=c.user.user_id),method='put')} |
|
28 | 28 | <div class="form"> |
|
29 | 29 | <!-- fields --> |
|
30 | 30 | <div class="fields"> |
|
31 | 31 | <div class="field"> |
|
32 | 32 | <div class="label"> |
|
33 | 33 | <label for="username">${_('Username')}:</label> |
|
34 | 34 | </div> |
|
35 | 35 | <div class="input"> |
|
36 | 36 | ${h.text('username')} |
|
37 | 37 | </div> |
|
38 | 38 | </div> |
|
39 | 39 | |
|
40 | 40 | <div class="field"> |
|
41 | 41 | <div class="label"> |
|
42 | 42 | <label for="new_password">${_('New password')}:</label> |
|
43 | 43 | </div> |
|
44 | 44 | <div class="input"> |
|
45 |
${h. |
|
|
45 | ${h.password('new_password')} | |
|
46 | 46 | </div> |
|
47 | 47 | </div> |
|
48 | 48 | |
|
49 | 49 | <div class="field"> |
|
50 | 50 | <div class="label"> |
|
51 | 51 | <label for="name">${_('Name')}:</label> |
|
52 | 52 | </div> |
|
53 | 53 | <div class="input"> |
|
54 | 54 | ${h.text('name')} |
|
55 | 55 | </div> |
|
56 | 56 | </div> |
|
57 | 57 | |
|
58 | 58 | <div class="field"> |
|
59 | 59 | <div class="label"> |
|
60 | 60 | <label for="lastname">${_('Lastname')}:</label> |
|
61 | 61 | </div> |
|
62 | 62 | <div class="input"> |
|
63 |
${h. |
|
|
63 | ${h.text('lastname')} | |
|
64 | 64 | </div> |
|
65 | 65 | </div> |
|
66 | 66 | |
|
67 | 67 | <div class="field"> |
|
68 | 68 | <div class="label"> |
|
69 | 69 | <label for="email">${_('Email')}:</label> |
|
70 | 70 | </div> |
|
71 | 71 | <div class="input"> |
|
72 | 72 | ${h.text('email')} |
|
73 | 73 | </div> |
|
74 | 74 | </div> |
|
75 | 75 | |
|
76 | 76 | <div class="field"> |
|
77 | 77 | <div class="label label-checkbox"> |
|
78 | 78 | <label for="active">${_('Active')}:</label> |
|
79 | 79 | </div> |
|
80 | 80 | <div class="checkboxes"> |
|
81 | 81 | ${h.checkbox('active',value=True)} |
|
82 | 82 | </div> |
|
83 | 83 | </div> |
|
84 | 84 | |
|
85 | 85 | <div class="field"> |
|
86 | 86 | <div class="label label-checkbox"> |
|
87 | 87 | <label for="admin">${_('Admin')}:</label> |
|
88 | 88 | </div> |
|
89 | 89 | <div class="checkboxes"> |
|
90 | 90 | ${h.checkbox('admin',value=True)} |
|
91 | 91 | </div> |
|
92 | 92 | </div> |
|
93 | 93 | |
|
94 | 94 | <div class="buttons"> |
|
95 | 95 | ${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")} |
|
96 | 96 | </div> |
|
97 | 97 | </div> |
|
98 | 98 | </div> |
|
99 | 99 | ${h.end_form()} |
|
100 | 100 | </div> |
|
101 | 101 | </%def> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now