Sha256: 30ef143763ecf6e33eda17de807e66b16b22594102cde676ad97f27aa45cc83a
Contents?: true
Size: 654 Bytes
Versions: 4
Compression:
Stored size: 654 Bytes
Contents
<% @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 %>
Version data entries
4 entries across 4 versions & 1 rubygems