|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}), |
|
|
|
|
:multiple => true, :size => 10, :style => "width:150px" %> |
|
|
|
|
</td> |
|
|
|
|
<td align="center" valign="middle"> |
|
|
|
|
<td class="table-buttons" align="center" valign="middle"> |
|
|
|
|
<input type="button" value="→" |
|
|
|
|
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" |
|
|
|
|
title="<%= l(:label_add_columns) %>"/><br /> |
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
|
options_for_select(query.columns.collect {|column| [column.caption, column.name]}), |
|
|
|
|
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %> |
|
|
|
|
</td> |
|
|
|
|
<td align="center" valign="middle"> |
|
|
|
|
<td class="table-buttons" align="center" valign="middle"> |
|
|
|
|
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);" |
|
|
|
|
title="<%= l(:label_sort_higher) %>" /><br /> |
|
|
|
|
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);" |
|
|
|
|