changelog shortlog tags changeset file revisions annotate raw

app/views/order_items/edit.html.erb

revision 12: 755229281e85
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/views/order_items/edit.html.erb	Mon Mar 10 03:51:59 2008 +0900
@@ -0,0 +1,27 @@
+<h1>Editing order_item</h1>
+
+<%= error_messages_for :order_item %>
+
+<% form_for(@order_item) do |f| %>
+  <p>
+    <b>Order</b><br />
+    <%= f.text_field :order %>
+  </p>
+
+  <p>
+    <b>Product</b><br />
+    <%= f.text_field :product %>
+  </p>
+
+  <p>
+    <b>Quantity</b><br />
+    <%= f.text_field :quantity %>
+  </p>
+
+  <p>
+    <%= f.submit "Update" %>
+  </p>
+<% end %>
+
+<%= link_to 'Show', @order_item %> |
+<%= link_to 'Back', order_items_path %>