Sha256: a3524f8936650b37e263fa2785fbe3fc498d6027220fbb82d09f92d5ec299194
Contents?: true
Size: 688 Bytes
Versions: 31
Compression:
Stored size: 688 Bytes
Contents
<%% content_for :header do %> <%%= render(Koi::Header::ShowComponent.new(resource: <%= singular_name %>)) %> <%% end %> <h2>Summary</h2> <%%= summary_table_with(model: <%= singular_name %>) do |row| %> <%- attributes.each_with_index do |attribute, index| -%> <%- if index.zero? -%> <%% row.link :<%= attribute.name %> %> <%- else -%> <%= summary_attribute_for attribute %> <%- end -%> <%- end -%> <%% end %> <div class="actions"> <%%= button_to "Delete", <%= show_helper(singular_name, type: :path) %>, class: "button button--secondary", method: :delete, form: { data: { turbo_confirm: "Are you sure?" } } %> </div>
Version data entries
31 entries across 31 versions & 1 rubygems