1 <div class="selection-action-container" style="padding-left: 1em">
3 <div class="pull-left">
4 <div class="btn-group btn-group-sm">
5 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
6 <ul class="dropdown-menu" role="menu">
7 <li><%= link_to "Combine selections into a new collection", '#',
8 'data-href' => combine_selected_path,
9 'data-selection-param-name' => 'selection[]',
10 'data-selection-action' => 'combine-collections',
11 'data-remote' => true,
13 'data-toggle' => 'dropdown'
21 <%= render partial: "paging", locals: {results: @collections, object: @object} %>
23 <div style="padding-right: 1em">
25 <%= form_tag do |f| %>
27 <table id="collections-index" class="topalign table table-condensed table-fixedlayout"> <!-- table-fixed-header-row -->
36 <tr class="contain-align-left">
45 <%= render partial: 'index_tbody' %>
53 <%= render partial: "paging", locals: {results: @collections, object: @object} %>
55 <% content_for :footer_js do %>
56 $(document).on('click', 'form[data-remote] input[type=submit]', function() {
57 $('table#collections-index tbody').fadeTo(200, 0.3);