% 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 partial: "paging", locals: {results: @collections, object: @object} %>
<%= form_tag do |f| %>
|
uuid |
contents |
created at |
storage |
tags |
<%= render partial: 'index_tbody' %>
<% end %>
<%= render partial: "paging", locals: {results: @collections, object: @object} %>
<% 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 %>