Show More
@@ -1,55 +1,55 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 | ${_('Add users group')} - ${c.rhodecode_name} |
|
5 | ${_('Add users group')} - ${c.rhodecode_name} | |
6 | </%def> |
|
6 | </%def> | |
7 | <%def name="breadcrumbs_links()"> |
|
7 | <%def name="breadcrumbs_links()"> | |
8 | ${h.link_to(_('Admin'),h.url('admin_home'))} |
|
8 | ${h.link_to(_('Admin'),h.url('admin_home'))} | |
9 | » |
|
9 | » | |
10 | ${h.link_to(_('Users groups'),h.url('users_groups'))} |
|
10 | ${h.link_to(_('Users groups'),h.url('users_groups'))} | |
11 | » |
|
11 | » | |
12 | ${_('add new users group')} |
|
12 | ${_('add new users group')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="page_nav()"> |
|
15 | <%def name="page_nav()"> | |
16 | ${self.menu('admin')} |
|
16 | ${self.menu('admin')} | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="main()"> |
|
19 | <%def name="main()"> | |
20 | <div class="box"> |
|
20 | <div class="box"> | |
21 | <!-- box / title --> |
|
21 | <!-- box / title --> | |
22 | <div class="title"> |
|
22 | <div class="title"> | |
23 | ${self.breadcrumbs()} |
|
23 | ${self.breadcrumbs()} | |
24 | </div> |
|
24 | </div> | |
25 | <!-- end box / title --> |
|
25 | <!-- end box / title --> | |
26 | ${h.form(url('users_groups'))} |
|
26 | ${h.form(url('users_groups'))} | |
27 | <div class="form"> |
|
27 | <div class="form"> | |
28 | <!-- fields --> |
|
28 | <!-- fields --> | |
29 | <div class="fields"> |
|
29 | <div class="fields"> | |
30 | <div class="field"> |
|
30 | <div class="field"> | |
31 | <div class="label"> |
|
31 | <div class="label"> | |
32 | <label for="users_group_name">${_('Group name')}:</label> |
|
32 | <label for="users_group_name">${_('Group name')}:</label> | |
33 | </div> |
|
33 | </div> | |
34 | <div class="input"> |
|
34 | <div class="input"> | |
35 | ${h.text('users_group_name',class_='small')} |
|
35 | ${h.text('users_group_name',class_='small')} | |
36 | </div> |
|
36 | </div> | |
37 | </div> |
|
37 | </div> | |
38 |
|
38 | |||
39 | <div class="field"> |
|
39 | <div class="field"> | |
40 | <div class="label label-checkbox"> |
|
40 | <div class="label label-checkbox"> | |
41 | <label for="users_group_active">${_('Active')}:</label> |
|
41 | <label for="users_group_active">${_('Active')}:</label> | |
42 | </div> |
|
42 | </div> | |
43 | <div class="checkboxes"> |
|
43 | <div class="checkboxes"> | |
44 | ${h.checkbox('users_group_active',value=True)} |
|
44 | ${h.checkbox('users_group_active',value=True, checked='checked')} | |
45 | </div> |
|
45 | </div> | |
46 | </div> |
|
46 | </div> | |
47 |
|
47 | |||
48 | <div class="buttons"> |
|
48 | <div class="buttons"> | |
49 | ${h.submit('save',_('save'),class_="ui-button")} |
|
49 | ${h.submit('save',_('save'),class_="ui-button")} | |
50 | </div> |
|
50 | </div> | |
51 | </div> |
|
51 | </div> | |
52 | </div> |
|
52 | </div> | |
53 | ${h.end_form()} |
|
53 | ${h.end_form()} | |
54 | </div> |
|
54 | </div> | |
55 | </%def> |
|
55 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now