Sha256: 47ec5abda23be9e00df9bfa9fa0c91173955171bf05989b40c7d5bf3dc8e4325
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
<% @title ||= collection_title %> <% if !collection.empty? %> <table class="table table-striped"> <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> <%= paginate collection %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_application-0.0.1 | app/views/simple_resource/base/_collection.html.erb |