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