1
0
mirror of https://github.com/danog/yawarehouse.git synced 2024-12-12 17:37:35 +01:00
yawarehouse/app/views/products/show.html.erb
2018-05-27 12:34:07 +02:00

6 lines
404 B
Plaintext

<h1>ID: <%= @product.id %></h1>
<p>Section: <%= @section.description %></p>
<p>Description: <%= @product.description %></p>
<p>Count: <%= @product.count %> <%= link_to '+', section_product_increase_path(@section.id, @product.id), method: 'patch' %>/<%= link_to '-', section_product_decrease_path(@section.id, @product.id), method: 'patch' %></p>
<%= link_to 'Back', section_products_path(@section.id) %>