Sha256: 9895fb40a725874a08c6474a4f44883cb7c84284cdc5c4dd4818b76636605107
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
<% @title ||= collection_title %> <table class="<%= collection_table_classes %>"> <thead> <tr> <% attributes.each do |attribute_name| %> <th><%= resource_attribute_human_name_for(attribute_name) %></th> <% end %> <th> </th> </tr> </thead> <tbody> <% collection.each do |row| %> <tr> <% attributes.each do |attribute_name| %> <td><%= attribute_value_for(row, attribute_name) %></td> <% end %> <td><%= render_actions_for(row) %></td> </tr> <% end %> </tbody> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
power_resource-0.0.3 | app/views/power_resource/base/_collection.html.erb |
power_resource-0.0.2 | app/views/power_resource/base/_collection.html.erb |