<%= attribute.human_name %>: <% if attribute.attachment? -%> {{ <%= singular_table_name %>.<%= attribute.column_name %>.filename }}
<% elsif attribute.attachments? -%> <% else -%> {{ <%= singular_table_name %>.<%= attribute.column_name %> }} <% end -%> <% end -%>