<%%= notice %>
<% attributes.reject(&:password_digest?).each do |attribute| -%><%= attribute.human_name %>: <% if attribute.attachment? -%> <%%= link_to @<%= singular_table_name %>.<%= attribute.column_name %>.filename, @<%= singular_table_name %>.<%= attribute.column_name %> %> <% elsif attribute.attachments? -%> <%% @<%= singular_table_name %>.<%= attribute.column_name %>.each do |<%= attribute.singular_name %>| %>