Sha256: 634cad0800e2e6d484df6bed8c6290c2f35387eb8bf75869f49014ae1b5263b7
Contents?: true
Size: 805 Bytes
Versions: 11
Compression:
Stored size: 805 Bytes
Contents
<div id="<%%= dom_id <%= singular_name %> %>"> <% attributes.reject(&:password_digest?).each do |attribute| -%> <p class="my-5"> <strong class="block font-medium mb-1"><%= attribute.human_name %>:</strong> <% 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 %> %></div> <%% end %> <% else -%> <%%= <%= singular_name %>.<%= attribute.column_name %> %> <% end -%> </p> <% end -%> </div>
Version data entries
11 entries across 11 versions & 2 rubygems