<% @title ||= collection_title %> <% attributes.each do |attribute_name| %> <% end %> <% collection.each do |resource| %> <% attributes.each do |attribute_name| %> <% end %> <% end %>
<%= attribute_human_name(attribute_name) %> 
<%= attribute_value(resource, attribute_name) %><%= render_actions_for(resource) %>
<%= if defined?(Kaminari) paginate(collection) end %>