Sha256: ffd6c007f221a413f00c7e3ec4cfa45e3a578bbb72327fbfbfea511b8e71a9a6

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

<% @title ||= collection_title %>

<table>
  <thead>
    <tr>
      <% attributes.each do |attribute_name| %>
        <th><%= attribute_human_name(attribute_name) %></th>
      <% end %>
      <th>&nbsp;</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>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple_resource-0.3.0 app/views/simple_resource/base/_collection.html.erb
simple_resource-0.2.0 app/views/simple_resource/base/_collection.html.erb
simple_resource-0.1.0 app/views/simple_resource/base/_collection.html.erb