diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 20:06:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 20:06:53 +0000 |
commit | df8945177abfce84e05a3e199ed596095bcc9ff1 (patch) | |
tree | 80e992d90c96d428357fe2c5ef8581b2e0193897 /app | |
parent | 69c296505159fb6fa073d897b517645fd79dfe8a (diff) | |
download | redmine-df8945177abfce84e05a3e199ed596095bcc9ff1.tar.gz redmine-df8945177abfce84e05a3e199ed596095bcc9ff1.zip |
Added label tags on role form permission checkboxes.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@806 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/roles/_form.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/roles/_form.rhtml b/app/views/roles/_form.rhtml index 8dab8129a..b77cbacdf 100644 --- a/app/views/roles/_form.rhtml +++ b/app/views/roles/_form.rhtml @@ -13,10 +13,10 @@ <% perms_by_module.keys.sort.each do |mod| %> <fieldset><legend><%= mod.blank? ? l(:label_project) : mod.humanize %></legend> <% perms_by_module[mod].each do |permission| %> - <div style="width:220px;float:left;"> + <label class="floating"> <%= check_box_tag 'role[permissions][]', permission.name, (@role.permissions.include? permission.name) %> <%= permission.name.to_s.humanize %> - </div> + </label> <% end %> </fieldset> <% end %> |