Sha256: 1c43e8ac6e1d04e9837d41ef898f98cf86f338109658bc51d1f180633d7e1ae7
Contents?: true
Size: 585 Bytes
Versions: 13
Compression:
Stored size: 585 Bytes
Contents
<%% content_for :header do %> <%%= render(Koi::Header::IndexComponent.new(model: <%= class_name %>)) do |component| %> <%% component.with_action "New", <%= new_helper(type: :path) %> %> <%% end %> <%% end %> <%%= table_query_with(collection:) %> <%%= table_with(collection:) do |row, <%= singular_name %>| %> <%- index_attributes.each_with_index do |attribute, index| -%> <%- if index.zero? -%> <%% row.link :<%= attribute.name %> %> <%- else -%> <%= index_attribute_for attribute %> <%- end -%> <%- end -%> <%% end %> <%%== pagy_nav(collection.pagination) %>
Version data entries
13 entries across 13 versions & 1 rubygems