Sha256: cacde8dc193d97bc565ace44e494f388e0d0828dca391284f5fe3e80120c553a

Contents?: true

Size: 594 Bytes

Versions: 3

Compression:

Stored size: 594 Bytes

Contents

<% content_for :header do %>
  <%= render Koi::Header::IndexComponent.new(model: Admin::User, title: "Archived") do |component| %>
    <% component.with_breadcrumb "Admins", admin_admin_users_path %>
  <% end %>
<% end %>

<%= table_query_with(collection:) %>

<%= table_selection_with(collection:) do %>
  <%= tag.button "Restore", formaction: restore_admin_admin_users_path, formmethod: :put %>
<% end %>

<%= table_with(collection:) do |row| %>
  <% row.select %>
  <% row.link :name, url: :admin_admin_user_path %>
  <% row.text :email %>
<% end %>

<%== pagy_nav(collection.pagination) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katalyst-koi-4.11.2 app/views/admin/admin_users/archived.html.erb
katalyst-koi-4.11.1 app/views/admin/admin_users/archived.html.erb
katalyst-koi-4.11.0 app/views/admin/admin_users/archived.html.erb