Sha256: 57d516f23d1269d6036b1385a220ba3fc1c709addd264b206efc07275f77dfb2

Contents?: true

Size: 813 Bytes

Versions: 7

Compression:

Stored size: 813 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Products</h1>

<table>
  <thead>
    <tr>
      <th>Sku</th>
      <th>Title</th>
      <th>Price</th>
      <th>Active</th>
      <th>Description</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @products.each do |product| %>
      <tr>
        <td><%= product.sku %></td>
        <td><%= product.title %></td>
        <td><%= product.price %></td>
        <td><%= product.active %></td>
        <td><%= product.description %></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 %>
  </tbody>
</table>

<br>

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
audited_views-0.0.7 spec/dummy/app/views/products/index.html.erb
audited_views-0.0.6 spec/dummy/app/views/products/index.html.erb
audited_views-0.0.5 spec/dummy/app/views/products/index.html.erb
audited_views-0.0.4 spec/dummy/app/views/products/index.html.erb
audited_views-0.0.3 spec/dummy/app/views/products/index.html.erb
audited_views-0.0.2 spec/dummy/app/views/products/index.html.erb
audited_views-0.0.1 spec/dummy/app/views/products/index.html.erb