mirror of
https://github.com/danog/yawarehouse.git
synced 2024-11-29 20:19:01 +01:00
Small bugfix
This commit is contained in:
parent
7c00e6de1d
commit
0d516070b5
@ -9,7 +9,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<ul>
|
<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 | %>
|
<% @products.each do | product | %>
|
||||||
<li>
|
<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>
|
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>
|
||||||
@ -20,4 +20,4 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<%= link_to 'Back', sections_path %>
|
<%= link_to 'Back', sections_path %>
|
||||||
|
Loading…
Reference in New Issue
Block a user