replace tabs to spaces at app/views/queries/_columns.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7381 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
382b5c9fbb
commit
a80507178b
|
@ -1,24 +1,24 @@
|
|||
<table style="border-collapse: collapse; border:0;">
|
||||
<tr>
|
||||
<td style="padding-left:0"><%= 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" %>
|
||||
</td>
|
||||
<td align="center" valign="middle">
|
||||
<input type="button" value="→"
|
||||
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
|
||||
<input type="button" value="←"
|
||||
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
|
||||
</td>
|
||||
<td><%= select_tag 'c[]',
|
||||
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">
|
||||
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);" /><br />
|
||||
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-left:0"><%= 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" %>
|
||||
</td>
|
||||
<td align="center" valign="middle">
|
||||
<input type="button" value="→"
|
||||
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
|
||||
<input type="button" value="←"
|
||||
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
|
||||
</td>
|
||||
<td><%= select_tag 'c[]',
|
||||
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">
|
||||
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);" /><br />
|
||||
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
|
|
Loading…
Reference in New Issue