Sha256: 368fb909952d494f0c143aaf62cabd684eb1456e4d6e0ab800104e72cb1e1edc

Contents?: true

Size: 781 Bytes

Versions: 4

Compression:

Stored size: 781 Bytes

Contents

<h1>Listing product_photos</h1>

<table>
  <thead>
    <tr>
      <th>Product</th>
      <th>Name</th>
      <th>Order</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @product_photos.each do |product_photo| %>
      <tr>
        <td><%= product_photo.product %></td>
        <td><%= product_photo.name %></td>
        <td><%= product_photo.order %></td>
        <td><%= link_to 'Show', [@product, product_photo] %></td>
        <td><%= link_to 'Edit', [:edit, @product, product_photo] %></td>
        <td><%= link_to 'Destroy', [@product, product_photo], method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Product photo', [:new, @product, :product_photo] %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bread-0.0.11 test/dummy/app/views/product_photos/index.html.erb
bread-0.0.10 test/dummy/app/views/product_photos/index.html.erb
bread-0.0.9 test/dummy/app/views/product_photos/index.html.erb
bread-0.0.7 test/dummy/app/views/product_photos/index.html.erb