app/views/simple_resource/base/_collection.html.erb
<% @title ||= collection_title %>
<table class="<%= table_classes_for(:collection) %>">
<thead>
<tr>
<% attributes.each do |attribute_name| %>
<th><%= attribute_human_name(attribute_name) %></th>
<% end %>
<th> </th>
</tr>
</thead>
<tbody>
<% collection.each do |resource| %>
<tr>
<% attributes.each do |attribute_name| %>
<td><%= attribute_value(resource, attribute_name) %></td>
<% end %>
<td class="actions"><%= render_actions_for(resource) %></td>
</tr>
<% end %>
</tbody>
</table>
<%=
if defined?(Kaminari)
paginate(collection)
end
%>