Listing <%= @scaffold_plural_name %>

<% for column in @scaffold_class.content_columns %> <% end %> <% for entry in instance_variable_get("@#{@scaffold_plural_name}") %> <% for column in @scaffold_class.content_columns %> <% end %> <% end %>
<%= column.human_name %>
<%= entry.send(column.name) %><%= link_to "Show", :action => "show#{@scaffold_suffix}", :id => entry %> <%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id => entry %> <%= link_to "Destroy", {:action => "destroy#{@scaffold_suffix}", :id => entry}, { :confirm => "Are you sure?", :method => :post } %>
<%= link_to "Previous page", { :page => instance_variable_get("@#{@scaffold_singular_name}_pages").current.previous } if instance_variable_get("@#{@scaffold_singular_name}_pages").current.previous %> <%= link_to "Next page", { :page => instance_variable_get("@#{@scaffold_singular_name}_pages").current.next } if instance_variable_get("@#{@scaffold_singular_name}_pages").current.next %>
<%= link_to "New #{@scaffold_singular_name}", :action => "new#{@scaffold_suffix}" %>