% content_for :tab_line_buttons do %> <%= form_tag({action: 'compare', controller: params[:controller], method: 'get'}, {method: 'get', id: 'compare', class: 'pull-right small-form-margin'}) do |f| %> <%= submit_tag 'Compare 2 or 3 selected', {class: 'btn btn-primary', disabled: true, style: 'display: none'} %> <% end rescue nil %> <%= form_tag pipeline_instances_path, method: 'get', remote: true, class: 'form-search' do %>