Sha256: 4442a4e9dddde7b23b021abcd68680c0958656fd85de1c048e38f366ed63610d
Contents?: true
Size: 587 Bytes
Versions: 15
Compression:
Stored size: 587 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 %> <%%= table_pagination_with(collection:) %>
Version data entries
15 entries across 15 versions & 1 rubygems