Sha256: b6cf1202408a8ccba03dd5fbf3cca17da4ff88a171f630f47b19f93f27ed3b7b
Contents?: true
Size: 572 Bytes
Versions: 16
Compression:
Stored size: 572 Bytes
Contents
<%% content_for :header do %> <%%= render(Koi::Header::ShowComponent.new(resource: <%= singular_name %>)) %> <%% end %> <h2>Summary</h2> <%%= render Koi::SummaryListComponent.new(model: <%= singular_name %>) do |dl| %> <%- attributes.each do |attribute| -%> <%= summary_attribute_for attribute %> <%- end -%> <%% end %> <div class="actions"> <%%= button_to "Delete", [:admin, <%= singular_name %>], class: "button button--secondary", method: :delete, form: { data: { turbo_confirm: "Are you sure?" } } %> </div>
Version data entries
16 entries across 16 versions & 1 rubygems