changeset 12: | 755229281e85 |
author: | moriq <moriq@moriq.com> |
date: | Mon Mar 10 03:51:59 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add scaffold order_item. |
1<h1>New order_item</h1>23<%= error_messages_for :order_item %>45<% form_for(@order_item) do |f| %>6 <p>7 <b>Order</b><br />8 <%= f.text_field :order %>9 </p>1011 <p>12 <b>Product</b><br />13 <%= f.text_field :product %>14 </p>1516 <p>17 <b>Quantity</b><br />18 <%= f.text_field :quantity %>19 </p>2021 <p>22 <%= f.submit "Create" %>23 </p>24<% end %>2526<%= link_to 'Back', order_items_path %>