Moved to Netbeans 6.5. Started order creation
[depot.git] / app / views / line_items / show.html.erb
diff --git a/app/views/line_items/show.html.erb b/app/views/line_items/show.html.erb
new file mode 100644 (file)
index 0000000..aa6f3c0
--- /dev/null
@@ -0,0 +1,23 @@
+<p>
+  <b>Product:</b>
+  <%=h @line_item.product_id %>
+</p>
+
+<p>
+  <b>Order:</b>
+  <%=h @line_item.order_id %>
+</p>
+
+<p>
+  <b>Quantity:</b>
+  <%=h @line_item.quantity %>
+</p>
+
+<p>
+  <b>Total price:</b>
+  <%=h @line_item.total_price %>
+</p>
+
+
+<%= link_to 'Edit', edit_line_item_path(@line_item) %> |
+<%= link_to 'Back', line_items_path %>