Sha256: 275b7738cdcff2832b3802097ab185737ef9905628d3d0c3905d165164ceb423
Contents?: true
Size: 1.73 KB
Versions: 1
Compression:
Stored size: 1.73 KB
Contents
<%- @page_title = "GBL♦Admin - Imports" %> <div class="row mb-2"> <div class="col"> <h1 style="width:100%;"> Import Documents <%= link_to '+ New Documents Import', new_admin_import_path, { class: 'btn btn-primary float-right' } %> </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">Filename</th> <th class="header">Source</th> <th class="header">Description</th> <th class="header">Row count</th> <th class="header">Date</th> <th class="header" colspan="3">Actions</th> </tr> </thead> <tbody> <% @imports.each do |import| %> <tr> <td><%= import.name %></td> <td><%= import.filename %></td> <td><%= import.source %></td> <td><%= import.description %></td> <td><%= import.row_count %></td> <td><%= import.created_at %></td> <td><%= link_to 'Show', admin_import_path(import) %></td> <td><%= link_to 'Edit', edit_admin_import_path(import) %></td> <td><%= link_to 'Destroy', admin_import_path(import), 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geoblacklight_admin-0.7.0 | app/views/admin/imports/index.html.erb |