From df8945177abfce84e05a3e199ed596095bcc9ff1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 5 Oct 2007 20:06:53 +0000 Subject: [PATCH] Added label tags on role form permission checkboxes. git-svn-id: http://redmine.rubyforge.org/svn/trunk@806 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/roles/_form.rhtml | 4 ++-- public/stylesheets/application.css | 7 +++++++ 2 files changed, 9 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| %>
<%= mod.blank? ? l(:label_project) : mod.humanize %> <% perms_by_module[mod].each do |permission| %> -
+
+ <% end %>
<% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index a1e1cca22..854f29c63 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -125,6 +125,13 @@ width: 175px; /*width of labels. Should be smaller than left column to create so margin*/ } +.tabular label.floating{ +font-weight: normal; +margin-left: 0px; +text-align: left; +width: 200px; +} + #settings .tabular p{ padding-left: 300px; } #settings .tabular label{ margin-left: -300px; width: 295px; } -- 2.39.5