<%% title "<%= plural_name.titleize %>" %>

<%%= yield(:title) %>

<%- for attribute in attributes -%> <%- end -%> <%% @<%= plural_name %>.each do |<%= singular_name %>| %> <%- for attribute in attributes -%> <%- end -%> <%- if action? :show -%> <%- end -%> <%- if action? :edit -%> <%- end -%> <%- if action? :destroy -%> <%- end -%> <%% end %>
ID<%= attribute.column.human_name.titleize %> 
<%%= <%= singular_name %>.id %><%%= <%= 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 %>
<%- if action? :new -%>

<%%= link_to "New <%= singular_name.titleize %>", new_<%= singular_name %>_path %>

<%- end -%> <%% content_for :sidebar, render(:partial => 'sidebar') -%>