diff options
Diffstat (limited to 'app/views/queries/_columns.html.erb')
-rw-r--r-- | app/views/queries/_columns.html.erb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb index 18443de57..da3ae2acf 100644 --- a/app/views/queries/_columns.html.erb +++ b/app/views/queries/_columns.html.erb @@ -2,36 +2,34 @@ <% available_tag_id = "available_#{tag_id}" %> <% selected_tag_id = "selected_#{tag_id}" %> -<span class="query-columns"> - <span> +<div class="query-columns"> <%= label_tag available_tag_id, l(:description_available_columns) %> <%= select_tag 'available_columns', options_for_select(query_available_inline_columns_options(query)), :id => available_tag_id, :multiple => true, :size => 10, :ondblclick => "moveOptions(this.form.#{available_tag_id}, this.form.#{selected_tag_id});" %> - </span> - <span class="buttons"> +</div> +<div class="buttons"> <input type="button" value="→" class="move-right" onclick="moveOptions(this.form.<%= available_tag_id %>, this.form.<%= selected_tag_id %>);" /> <input type="button" value="←" class="move-left" onclick="moveOptions(this.form.<%= selected_tag_id %>, this.form.<%= available_tag_id %>);" /> - </span> - <span> +</div> +<div class="query-columns"> <%= label_tag selected_tag_id, l(:description_selected_columns) %> <%= select_tag tag_name, options_for_select(query_selected_inline_columns_options(query)), :id => selected_tag_id, :multiple => true, :size => 10, :ondblclick => "moveOptions(this.form.#{selected_tag_id}, this.form.#{available_tag_id});" %> - </span> - <span class="buttons"> +</div> +<div class="buttons"> <input type="button" value="⇈" onclick="moveOptionTop(this.form.<%= selected_tag_id %>);" /> <input type="button" value="↑" onclick="moveOptionUp(this.form.<%= selected_tag_id %>);" /> <input type="button" value="↓" onclick="moveOptionDown(this.form.<%= selected_tag_id %>);" /> <input type="button" value="⇊" onclick="moveOptionBottom(this.form.<%= selected_tag_id %>);" /> - </span> -</span> +</div> <%= javascript_tag do %> $(document).ready(function(){ |