super-graph/example/app/views/products/show.html.erb
Vikram Rangnekar b9d38a5e9d First commit
2019-03-24 09:57:29 -04:00

20 lines
314 B
Plaintext

<p id="notice"><%= notice %></p>
<p>
<strong>Name:</strong>
<%= @product.name %>
</p>
<p>
<strong>Description:</strong>
<%= @product.description %>
</p>
<p>
<strong>Price:</strong>
<%= @product.price %>
</p>
<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>