mirror of
https://github.com/danog/yawarehouse.git
synced 2024-11-26 12:04:47 +01:00
Small bugfix
This commit is contained in:
parent
7c00e6de1d
commit
0d516070b5
@ -9,7 +9,7 @@
|
||||
<hr>
|
||||
|
||||
<ul>
|
||||
<li><%= link_to 'Add product', section_products_path(@section.id) %><br><br></li>
|
||||
<li><%= link_to 'Add product', new_section_product_path(@section.id) %><br><br></li>
|
||||
<% @products.each do | product | %>
|
||||
<li>
|
||||
ID: <%= product.id %> (<%= link_to 'Edit', edit_section_product_path(@section.id, product.id) %> - <%= link_to 'Delete', section_product_path(@section.id, product.id), method: :delete, data: { confirm: 'Are you sure?' } %>)<br>
|
||||
|
Loading…
Reference in New Issue
Block a user