-<%= form_tag({}, {id: "trash_items"}) do |f| %>
- <table id="trash-index" class="topalign table table-condensed table-fixedlayout">
- <colgroup>
- <col width="5%" />
- <col width="15%" />
- <col width="10%" />
- <col width="10%" />
- <col width="30%" />
- <col width="25%" />
- <col width="5%" />
- </colgroup>
+<div class="container">
+ <div class="col-md-6 pull-left">
+ <div class="btn-group btn-group-sm">
+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
+ <ul class="dropdown-menu" role="menu">
+ <li><%= link_to "Un-trash selected items", '#',
+ method: :post,
+ 'data-href' => untrash_items_trash_items_path,
+ 'data-selection-param-name' => 'selection[]',
+ 'data-selection-action' => 'untrash-items',
+ 'data-toggle' => 'dropdown'
+ %></li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-md-6 pull-right">
+ <input type="text" class="form-control filterable-control recent-trash-items"
+ placeholder="Search trash"
+ data-filterable-target="#recent-trash-items"
+ value="<%= params[:search] %>" />
+ </div>
- <thead>
- <tr class="contain-align-left">
- <th></th>
- <th>Name</th>
- <th>Created at</th>
- <th>Trashed at</th>
- <th>Contents</th>
- <th>Tags</th>
- <th></th>
- </tr>
- </thead>
+ <div>
+ <table id="trash-index" class="topalign table table-condensed table-fixedlayout">
+ <colgroup>
+ <col width="5%" />
+ <col width="15%" />
+ <col width="10%" />
+ <col width="10%" />
+ <col width="30%" />
+ <col width="25%" />
+ <col width="5%" />
+ </colgroup>
- <tbody data-infinite-scroller="#recent-trash-items" id="recent-trash-items"
- data-infinite-content-href="<%= url_for partial: :trash_rows %>" >
- </tbody>
- </table>
-<% end %>
+ <thead>
+ <tr class="contain-align-left">
+ <th></th>
+ <th>Name</th>
+ <th>Created at</th>
+ <th>Trashed at</th>
+ <th>Contents</th>
+ <th>Tags</th>
+ <th></th>
+ </tr>
+ </thead>
+
+ <tbody data-infinite-scroller="#recent-trash-items" id="recent-trash-items"
+ data-infinite-content-href="<%= url_for partial: :trash_rows %>" >
+ </tbody>
+ </table>
+ </div>
+</div>
-<% content_for :tab_line_buttons do %>
- <div class="input-group">
- <div class="col-md-6 pull-left">
- <div class="btn-group btn-group-sm">
- <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
- <ul class="dropdown-menu" role="menu">
- <li><%= link_to "Un-trash selected items", '#',
- method: :post,
- 'data-href' => untrash_items_trash_items_path,
- 'data-selection-param-name' => 'selection[]',
- 'data-selection-action' => 'untrash-items',
- 'data-toggle' => 'dropdown'
- %></li>
- </ul>
- </div>
- </div>
- <div class="col-md-6 pull-right">
- <input type="text" class="form-control filterable-control recent-trash-items"
- placeholder="Search trash"
- data-filterable-target="#recent-trash-items"
- value="<%= params[:search] %>" />
- </div>
- </div>
-<% end %>
-
<%= render partial: 'show_trash_items' %>