<div id="<%= block %>-settings" style="display:none;">
<%= form_tag(my_page_path, :remote => true) do %>
+ <div id="list-definition">
<div class="box">
<%= render_query_columns_selection(query, :name => "settings[#{block}][columns]") %>
</div>
+ </div>
<p>
<%= submit_tag l(:button_save) %>
<%= link_to_function l(:button_cancel), "$('##{block}-settings').toggle();" %>
<fieldset class="box">
<legend><%= l(:setting_issue_list_default_columns) %></legend>
+ <div id="list-definition">
+ <div>
<%= render_query_columns_selection(
IssueQuery.new(:column_names => Setting.issue_list_default_columns),
:name => 'settings[issue_list_default_columns]') %>
+ </div>
+ </div>
<p><%= setting_multiselect :issue_list_default_totals,
IssueQuery.new(:totalable_names => Setting.issue_list_default_totals).available_totalable_columns.map {|c| [c.caption, c.name.to_s]},
<%= content_tag('label', l(:"label_display_type_#{t}"), :for => "settings_project_list_display_type_#{t}", :class => "inline") %>
<% end %>
</p>
+ <div id="list-definition">
+ <div>
<%= render_query_columns_selection(query,
:name => 'settings[project_list_defaults][column_names]') %>
+ </div>
+ </div>
<p>
<label><%= l(:label_default_query) %></label>