Sha256: a156360fcdc868e92cf9c3809a6fcf4c4450ba593c832e4a8e611507ab14e673

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

<%- index_attributes.each_with_index do |attribute, index| -%>
<%- if index.zero? -%>
<%% row.cell :<%= attribute.name %>, header: true do |cell| %>
  <%%= link_to cell.value, url_for([:admin, <%= singular_table_name %>]) %>
<%% end %>

<%- else -%>
<%% row.cell :<%= attribute.name %> %>
<%- end -%>
<%- end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katalyst-koi-4.4.1 lib/generators/koi/admin_views/templates/_record.html+row.erb.tt
katalyst-koi-4.4.0 lib/generators/koi/admin_views/templates/_record.html+row.erb.tt