Listing <%= plural_table_name %>

<% attributes.each do |attribute| -%> <% end -%> <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %> <% attributes.each do |attribute| -%> <% end -%> <%% end %>
<%= attribute.human_name %>
<%%= <%= singular_table_name %>.<%= attribute.name %> %><%%= link_to 'Show', <%= singular_table_name %> %> <%%= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %> <%%= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :confirm, "'Are you sure?'" %>, <%= key_value :method, ":delete" %> %>

<%%= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path %>