@@ -13,10 +13,10 | |||
|
13 | 13 | <% perms_by_module.keys.sort.each do |mod| %> |
|
14 | 14 | <fieldset><legend><%= mod.blank? ? l(:label_project) : mod.humanize %></legend> |
|
15 | 15 | <% perms_by_module[mod].each do |permission| %> |
|
16 | <div style="width:220px;float:left;"> | |
|
16 | <label class="floating"> | |
|
17 | 17 | <%= check_box_tag 'role[permissions][]', permission.name, (@role.permissions.include? permission.name) %> |
|
18 | 18 | <%= permission.name.to_s.humanize %> |
|
19 |
</ |
|
|
19 | </label> | |
|
20 | 20 | <% end %> |
|
21 | 21 | </fieldset> |
|
22 | 22 | <% end %> |
@@ -125,6 +125,13 width: 175px; /*width of labels. Should be smaller than left column to create so | |||
|
125 | 125 | margin*/ |
|
126 | 126 | } |
|
127 | 127 | |
|
128 | .tabular label.floating{ | |
|
129 | font-weight: normal; | |
|
130 | margin-left: 0px; | |
|
131 | text-align: left; | |
|
132 | width: 200px; | |
|
133 | } | |
|
134 | ||
|
128 | 135 | #settings .tabular p{ padding-left: 300px; } |
|
129 | 136 | #settings .tabular label{ margin-left: -300px; width: 295px; } |
|
130 | 137 |
General Comments 0
You need to be logged in to leave comments.
Login now