Sha256: 3b94f0545307e51ac908c5356f733f169747bb7f23c9638e1b409f961e233f5b

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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', bulk_action %></td>
        <td><%= link_to 'Edit', edit_bulk_action_path(bulk_action) %></td>
        <td><%= link_to 'Destroy', 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

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight_admin-0.2.1 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.1.0 app/views/admin/bulk_actions/index.html.erb