<% 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 %>
<%= form_tag do |f| %> <%= render partial: 'index_tbody' %>
uuid contents owner age tags storage
<% end %>
<% content_for :footer_js do %> $(document).on('click', 'form[data-remote] input[type=submit]', function() { $('table#collections-index tbody').fadeTo(200, 0.3); return true; }); <% end %>