Sha256: bf6a1b5502c4b88eb51516ecce0cfc5fed1d49b72e1c8acb72f50ee1a8f6d880

Contents?: true

Size: 649 Bytes

Versions: 10

Compression:

Stored size: 649 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 %>

<%= table_pagination_with(collection:) %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katalyst-koi-4.14.0 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.13.2 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.13.0 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.6 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.5 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.4 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.3 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.2 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.1 app/views/admin/admin_users/index.html.erb
katalyst-koi-4.12.0 app/views/admin/admin_users/index.html.erb