Moved to Netbeans 6.5. Started order creation
[depot.git] / app / views / line_items / edit.html.erb
diff --git a/app/views/line_items/edit.html.erb b/app/views/line_items/edit.html.erb
new file mode 100644 (file)
index 0000000..1e1298a
--- /dev/null
@@ -0,0 +1,28 @@
+<h1>Editing line_item</h1>
+
+<% form_for(@line_item) do |f| %>
+  <%= f.error_messages %>
+
+  <p>
+    <%= f.label :product_id %><br />
+    <%= f.text_field :product_id %>
+  </p>
+  <p>
+    <%= f.label :order_id %><br />
+    <%= f.text_field :order_id %>
+  </p>
+  <p>
+    <%= f.label :quantity %><br />
+    <%= f.text_field :quantity %>
+  </p>
+  <p>
+    <%= f.label :total_price %><br />
+    <%= f.text_field :total_price %>
+  </p>
+  <p>
+    <%= f.submit "Update" %>
+  </p>
+<% end %>
+
+<%= link_to 'Show', @line_item %> |
+<%= link_to 'Back', line_items_path %>