show_for @<%= singular_name %> do |s|

<%- attributes.each do |attribute| -%>

= s.<%= attribute.reference? ? :association : :attribute %> :<%= attribute.name %>

<% end -%>

link_to 'Edit', new_<%= singular_name %>_path(@<%= singular_name %>)

link_to 'Destroy', new_<%= singular_name %>_path(@<%= singular_name %>)