changeset 13: | 907a36cf5ba1 |
parent: | 094fe4526925 |
author: | moriq <moriq@moriq.com> |
date: | Mon Mar 10 09:38:39 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | order resourceをsingletonに変更する。order.idをsessionに保持する。 |
1<h1>New order</h1>23<%= error_messages_for :order %>45<% form_for(@order, :url => order_path) do |f| %>6 <p>7 <b>Name</b><br />8 <%= f.text_field :name %>9 </p>1011 <p>12 <b>Email</b><br />13 <%= f.text_field :email %>14 </p>1516 <p>17 <%= f.submit "Create" %>18 </p>19<% end %>2021<%= link_to 'Back', order_path %>