Listing <%= plural_name %>

<% for attribute in attributes -%> <% end -%> <%% for <%= singular_name %> in @<%= plural_name %> %> <% for attribute in attributes -%> <% end -%> <%% end %>
<%= attribute.column.human_name %>
<%%= h <%= singular_name %>.<%= attribute.name %> %><%%= link_to 'Show', <%= singular_name %> %> <%%= link_to 'Edit', edit_<%= singular_name %>_path(<%= singular_name %>) %> <%%= link_to 'Destroy', <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete %>

<%%= link_to 'New <%= singular_name %>', new_<%= singular_name %>_path %>