Sha256: b87c75b18179ce03d50fb5680161cc0ea57a595a31cf5ec92077b97ed5a67348

Contents?: true

Size: 647 Bytes

Versions: 3

Compression:

Stored size: 647 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 %>
    <% component.with_action "Archived", archived_admin_admin_users_path %>
  <% end %>
<% end %>

<%= table_query_with(collection:) %>

<%= table_selection_with(collection:) do %>
  <%= tag.button "Archive", formaction: archive_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/index.html.erb
katalyst-koi-4.11.1 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.11.0 app/views/admin/admin_users/index.html.erb