summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_issues.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-23 12:14:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-23 12:14:22 +0000
commitd255e98023e516ea6487fea8c36d7df0a3b39a03 (patch)
tree0ca0b566d2e8c16b41a1b0c8988e25df7f9e38b4 /app/views/settings/_issues.html.erb
parent1ac8fd8c4214f6cf829230a1dc067faf7c7e463a (diff)
downloadredmine-d255e98023e516ea6487fea8c36d7df0a3b39a03.tar.gz
redmine-d255e98023e516ea6487fea8c36d7df0a3b39a03.zip
Adds an helper for rendering query columns selection.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11452 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings/_issues.html.erb')
-rw-r--r--app/views/settings/_issues.html.erb8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/views/settings/_issues.html.erb b/app/views/settings/_issues.html.erb
index 7b0d96fa3..2efc6e8c2 100644
--- a/app/views/settings/_issues.html.erb
+++ b/app/views/settings/_issues.html.erb
@@ -22,11 +22,9 @@
<fieldset class="box">
<legend><%= l(:setting_issue_list_default_columns) %></legend>
- <%= render :partial => 'queries/columns',
- :locals => {
- :query => IssueQuery.new(:column_names => Setting.issue_list_default_columns),
- :tag_name => 'settings[issue_list_default_columns][]'
- } %>
+ <%= render_query_columns_selection(
+ IssueQuery.new(:column_names => Setting.issue_list_default_columns),
+ :name => 'settings[issue_list_default_columns]') %>
</fieldset>
<%= submit_tag l(:button_save) %>