Listing <%= plural_name %>

<% for attribute in attributes -%> <% end -%> <%% @<%= plural_name %>.each do |<%= singular_name %>| %> <% for attribute in attributes -%> <% end -%> <%% end %>
<%= attribute.human_name %>
<%%= <%= 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 <%= human_name %>', new_<%= singular_name %>_path %>