<%- inspector.columns.each do |p| -%> <%- end -%> <%- records.each_with_index do |record, i| -%> <%- tr_class = (i % 2 == 0) ? "even-record" : "" tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class -%> <%- inspector.columns.each do |p| -%> <%- end -%> <%- end -%>

<%= column_header(p) %>

<%=h column_value(record, p) %>
<%= inspector.link_to_show(record) %> <%= inspector.link_to_edit(record) %> <%# delete_button(article, "Delete #{article.title}") %>
<%= inspector.link_to_new 'New' %>