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
This commit is contained in:
Jean-Philippe Lang 2009-02-21 16:15:44 +00:00
parent 0624bdb6c9
commit 84de5fa3b0
1 changed files with 3 additions and 5 deletions

View File

@ -11,13 +11,11 @@
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
</div>
<fieldset class="box tabular settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
<fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
<%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %>
<% Query.new.available_columns.each do |column| %>
<p>
<label><%= column.caption %></label>
<%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
</p>
<label><%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
<%= column.caption %></label><br />
<% end %>
</fieldset>