Sha256: ab606a99d2469d1070a26f1f8c97a9bd51c2ac559e328d53eb0398bc674988c8
Contents?: true
Size: 798 Bytes
Versions: 7
Compression:
Stored size: 798 Bytes
Contents
<div id="<%%= dom_id <%= singular_table_name %> %>"> <% attributes.reject(&:password_digest?).each do |attribute| -%> <p> <strong><%= attribute.human_name %>:</strong> <% if attribute.attachment? -%> <%%= link_to <%= singular_table_name %>.<%= attribute.column_name %>.filename, <%= singular_table_name %>.<%= attribute.column_name %> if <%= singular_table_name %>.<%= attribute.column_name %>.attached? %> <% elsif attribute.attachments? -%> <%% <%= singular_table_name %>.<%= attribute.column_name %>.each do |<%= attribute.singular_name %>| %> <div><%%= link_to <%= attribute.singular_name %>.filename, <%= attribute.singular_name %> %></div> <%% end %> <% else -%> <%%= <%= singular_table_name %>.<%= attribute.column_name %> %> <% end -%> </p> <% end -%> </div>
Version data entries
7 entries across 7 versions & 1 rubygems