Sha256: 5b190b3d8c56ac95c951554433f6e1a8a4ef3dbf0f6ec4abbf69d58b85bc351d

Contents?: true

Size: 676 Bytes

Versions: 4

Compression:

Stored size: 676 Bytes

Contents

<h1>Listing products</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Created user</th>
    <th>Updated user</th>
    <th>Destroy user</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @products.each do |product| %>
  <tr>
    <td><%= product.name %></td>
    <td><%= product.created_user %></td>
    <td><%= product.updated_user %></td>
    <td><%= product.destroy_user %></td>
    <td><%= link_to 'Show', product %></td>
    <td><%= link_to 'Edit', edit_product_path(product) %></td>
    <td><%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Product', new_product_path %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
user_stamp-3.0.2 test/dummy/app/views/products/index.html.erb
user_stamp-3.0.1 test/dummy/app/views/products/index.html.erb
user_stamp-0.0.3 test/dummy/app/views/products/index.html.erb
user_stamp-0.0.2 test/dummy/app/views/products/index.html.erb