1 <% content_for :tab_line_buttons do %>
2 <div class="pull-right" style="width: 30%">
3 <%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %>
4 <div class="input-group">
5 <%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search collections' %>
6 <span class="input-group-btn">
7 <%= button_tag(class: 'btn btn-info') do %>
8 <span class="glyphicon glyphicon-search"></span>
16 <%= render partial: "paging", locals: {results: @collections, object: @object} %>
18 <div style="padding-right: 1em">
20 <%= form_tag do |f| %>
22 <table id="collections-index" class="topalign table table-condensed table-fixedlayout"> <!-- table-fixed-header-row -->
33 <tr class="contain-align-left">
44 <%= render partial: 'index_tbody' %>
52 <%= render partial: "paging", locals: {results: @collections, object: @object} %>
54 <% content_for :footer_js do %>
55 $(document).on('click', 'form[data-remote] input[type=submit]', function() {
56 $('table#collections-index tbody').fadeTo(200, 0.3);