X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9197c69b5780a5b5ce9c40bd67e530aefdf0c7a9..b1d1c5acf6f237d5e2a02414dd59e92cdb862237:/apps/workbench/app/views/collections/index.html.erb diff --git a/apps/workbench/app/views/collections/index.html.erb b/apps/workbench/app/views/collections/index.html.erb index 11cacc7b8c..061b05b474 100644 --- a/apps/workbench/app/views/collections/index.html.erb +++ b/apps/workbench/app/views/collections/index.html.erb @@ -1,45 +1,14 @@ -<%#= render :partial => 'nav' %> - -
- <%= form_tag collections_path, method: 'get', remote: true do %> -
- <%= text_field_tag :search, params[:search] %> - <%= submit_tag "Search", name: nil, class: 'btn btn-info' %> -
- <% end %> -
- - - - - - - - - - - - - - - - <%= render partial: 'index_tbody' %> - -
- uuid - - contents - - age - - tags - - storage -
- -<% content_for :js do %> -$(document).on('click', 'form[data-remote] input[type=submit]', function() { - $('table#collections-index tbody').fadeTo(200, 0.3); - return true; -}); +<% content_for :tab_line_buttons do %> + <%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %> +
+ <%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search collections' %> + + <%= button_tag(class: 'btn btn-info') do %> + + <% end %> + +
+ <% end %> <% end %> + +<%= render file: 'application/index.html.erb', locals: local_assigns %>