Sha256: 5f5036a8e7f47444d593fc351c317a95227217b9d6cc52233d5cee4ca3d18222

Contents?: true

Size: 485 Bytes

Versions: 11

Compression:

Stored size: 485 Bytes

Contents

<%# locals: { table:, collection } %>
<% content_for :header do %>
  <%= render Koi::Header::IndexComponent.new(model: UrlRewrite) do |component| %>
    <% component.with_action "New", new_admin_url_rewrite_path %>
  <% end %>
<% end %>

<%= table_query_with(collection:) %>

<%= table_with(collection:) do |row, url_rewrite| %>
  <%= row.link :from, url: [:admin, url_rewrite] %>
  <%= row.text :to %>
  <%= row.boolean :active %>
<% end %>

<%= table_pagination_with(collection:) %>

Version data entries

11 entries across 11 versions & 1 rubygems

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