diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb index 6141927..eb8511a 100644 --- a/app/views/queries/_columns.html.erb +++ b/app/views/queries/_columns.html.erb @@ -2,7 +2,7 @@ <%= label_tag "available_columns", l(:description_available_columns) %> -
+
<%= select_tag 'available_columns', options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}), :multiple => true, :size => 10, :style => "width:150px" %> @@ -15,7 +15,7 @@ <%= label_tag "selected_columns", l(:description_selected_columns) %> -
+
<%= select_tag 'c[]', options_for_select(query.columns.collect {|column| [column.caption, column.name]}), :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>