- title <%= class_name %>.human_name <%- for attribute in attributes -%> %p %strong = <%= class_name %>.human_attribute_name('<%= attribute.name %>')+':' =h @<%= singular_name %>.<%= attribute.name %> <%- end -%> %p <%- if action? :edit -%> = link_to t('edit_link'), edit_<%= singular_name %>_path(@<%= singular_name %>) | <%- end -%> <%- if action? :destroy -%> = link_to t('destroy_link'), @<%= singular_name %>, :confirm => t('destroy_confirmation'), :method => :delete | <%- end -%> <%- if action? :index -%> = link_to t('view_all_link'), <%= plural_name %>_path <%- end -%>