Sha256: 6d004ab9885668e7d5ff47161fee82220f10a434e697bc190691367bfff16f38

Contents?: true

Size: 540 Bytes

Versions: 14

Compression:

Stored size: 540 Bytes

Contents

<h1>Listing products</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @products.each do |product| %>
  <tr>
    <td><%= product.name %></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 %>
</table>

<br />

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
crimagify-0.0.4.3 test/dummy/app/views/products/index.html.erb
crimagify-0.0.4.2 test/dummy/app/views/products/index.html.erb
crimagify-0.0.4.1 test/dummy/app/views/products/index.html.erb
crimagify-0.0.4.0 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.9 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.8 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.6 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.5 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.4 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.3 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.2 test/dummy/app/views/products/index.html.erb
crimagify-0.0.3.1 test/dummy/app/views/products/index.html.erb
crimagify-0.0.2.1 test/dummy/app/views/products/index.html.erb
crimagify-0.0.2 test/dummy/app/views/products/index.html.erb