1 <% content_for :tab_line_buttons do %>
2 <div class="pull-right">
3 <%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %>
4 <div class="input-append">
5 <%= text_field_tag :search, params[:search], class: 'search-query' %>
6 <%= submit_tag "Search", name: nil, class: 'btn btn-info' %>
12 <div style="padding-right: 1em">
14 <table id="collections-index" class="topalign table table-bordered table-condensed table-fixedlayout table-smallcontent">
24 <tr class="contain-align-left">
34 <%= render partial: 'index_tbody' %>
39 <% content_for :js do %>
40 $(document).on('click', 'form[data-remote] input[type=submit]', function() {
41 $('table#collections-index tbody').fadeTo(200, 0.3);