Sha256: 9a1df7cd1f888094f9b2f2694aa671c9f14ef7afea89e5a0199462fc74f1820d

Contents?: true

Size: 670 Bytes

Versions: 8

Compression:

Stored size: 670 Bytes

Contents

<% content_for :header do %>
  <%= render Koi::Header::IndexComponent.new(model: Admin::User) do |component| %>
    <% component.with_action "New", new_admin_admin_user_path %>
  <% end %>
<% end %>

<%= table_query_with(collection:) %>

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

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katalyst-koi-4.10.3 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.10.2 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.10.1 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.10.0 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.9.5 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.9.4 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.9.3 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.9.2 app/views/admin/admin_users/index.html.erb