Sha256: 349c2ada5c64d74ddf4d080e780b3cc60e16457d92e4b2f33c96983d2683ba3c
Contents?: true
Size: 1010 Bytes
Versions: 6
Compression:
Stored size: 1010 Bytes
Contents
<div id="table" class="table-responsive"> <table class="table table-bordered table-hover"> <tr> <% if batch_action_map.present? %> <th></th> <% end %> <% attrs_for_index.each do |attr| %> <th> <%= column_header attr %> </th> <% end %> <th></th> </tr> <% @resources.each do |resource| %> <% if flash[:batch_actioned_ids] && flash[:batch_actioned_ids].include?(resource.id) %> <tr class="highlight"> <% else %> <tr> <% end %> <% if batch_action_map.present? %> <td align="center"> <%= check_box_tag "batch_action[items][#{resource.id}]" %> </td> <% end %> <% attrs_for_index.each do |attr| %> <td> <%= column_value(resource, attr) %> </td> <% end %> <td> <%= render partial: "columns/actions", locals: { resource: resource } %> </td> </tr> <% end %> </table> </div>
Version data entries
6 entries across 6 versions & 1 rubygems