From 84de5fa3b061aaec3ff96e526a5306b6b6bcad80 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 21 Feb 2009 16:15:44 +0000 Subject: [PATCH] Makes the default issue list columns selection look like other multi-checkbox fieldsets. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2507 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/settings/_issues.rhtml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/settings/_issues.rhtml b/app/views/settings/_issues.rhtml index 2d11fe13c..0703661e0 100644 --- a/app/views/settings/_issues.rhtml +++ b/app/views/settings/_issues.rhtml @@ -11,13 +11,11 @@ <%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %>

-
<%= l(:setting_issue_list_default_columns) %> +
<%= l(:setting_issue_list_default_columns) %> <%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %> <% Query.new.available_columns.each do |column| %> -

- - <%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %> -

+
<% end %>