Sha256: 86cec39be3d111e6d3d37d437509d355fcb83430cd855a661cac00c6751b1b50

Contents?: true

Size: 1.71 KB

Versions: 8

Compression:

Stored size: 1.71 KB

Contents

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

<div class="row mb-2">
  <div class="col">
    <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>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geoblacklight_admin-0.7.0 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.6.3 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.6.2 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.6.1 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.6.0 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.5.1 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.5.0 app/views/admin/bulk_actions/index.html.erb
geoblacklight_admin-0.4.2 app/views/admin/bulk_actions/index.html.erb