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