Sha256: 4ebc4b587b1a1731b008e95673fbe71a8ef99f73b398cec2c248be1716a3d024

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

Stored size: 1.47 KB

Contents

<%- @page_title = "GBL♦Admin - Bulk Actions" %>

<h1 style="width:100%;">
  Bulk Actions
  <%= link_to '+ Bulk Action', new_bulk_action_path, { class: 'btn btn-primary float-right invisible' } %>
</h1>

<h6>
  <span class='float-left mt-3'>
    <%== pagy_info(@pagy) %>
  </span>
  <span class='float-right'>
    <%== pagy_bootstrap_nav(@pagy) %>
  </span>
</h6>

<table class="table table-striped table-bordered sortable">
  <thead class="thead-dark">
    <tr>
      <th class="header">Name</th>
      <th class="header">Scope</th>
      <th class="header">Field</th>
      <th class="header">Value</th>
      <th class="header">Date</th>
      <th class="header" colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @bulk_actions.each do |bulk_action| %>
      <tr>
        <td><%= bulk_action.name %></td>
        <td><%= CGI.unescape(bulk_action.scope) %></td>
        <td><%= bulk_action.field_name %></td>
        <td><%= bulk_action.field_value %></td>
        <td><%= bulk_action.created_at %></td>
        <td><%= link_to 'Show', admin_bulk_action_path(bulk_action) %></td>
        <td><%= link_to 'Edit', edit_bulk_action_path(bulk_action) %></td>
        <td><%= link_to 'Destroy', admin_bulk_action_path(bulk_action), method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<h6>
  <span class='float-left mt-3'>
    <%== pagy_info(@pagy) %>
  </span>
  <span class='float-right'>
    <%== pagy_bootstrap_nav(@pagy) %>
  </span>
</h6>

<br/>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geoblacklight_admin-0.4.1 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.4.0 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.3.2 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.3.1 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.3.0 app/views/admin/bulk_actions/index.html.erb