<% for attribute in attributes -%>
<% if attribute == attributes.first -%>
<%%= link_to <%= singular_name %>.<%= attribute.name %>, admin_<%= singular_name %>_path(<%= singular_name %>) %> |
<% else -%>
<%%=h <%= singular_name %>.<%= attribute.name %> %> |
<% end -%>
<% end -%>
<%%=h <%= singular_name %>.created_at.to_formatted_s(:short_ordinal) %> |
<%%=h <%= singular_name %>.updated_at.to_formatted_s(:short_ordinal) %> |
<%%= link_to 'Edit', admin_<%= singular_name %>_path(<%= singular_name %>), :class => 'edit', :title => 'Edit this <%= singular_name %>' %> |
<%%= link_to 'Delete', admin_<%= singular_name %>_path(<%= singular_name %>), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this <%= singular_name %>' %> |
<%% end %>