Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7706 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a041bdc5a5
commit
23fe2be246
@ -2,7 +2,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td style="padding-left:0">
|
<td style="padding-left:0">
|
||||||
<%= label_tag "available_columns", l(:description_available_columns) %>
|
<%= label_tag "available_columns", l(:description_available_columns) %>
|
||||||
<br \>
|
<br />
|
||||||
<%= select_tag 'available_columns',
|
<%= select_tag 'available_columns',
|
||||||
options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
|
options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
|
||||||
:multiple => true, :size => 10, :style => "width:150px" %>
|
:multiple => true, :size => 10, :style => "width:150px" %>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= label_tag "selected_columns", l(:description_selected_columns) %>
|
<%= label_tag "selected_columns", l(:description_selected_columns) %>
|
||||||
<br \>
|
<br />
|
||||||
<%= select_tag 'c[]',
|
<%= select_tag 'c[]',
|
||||||
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
|
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
|
||||||
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
|
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user