changelog shortlog tags changeset file revisions annotate raw

app/views/orders/new.html.erb

revision 11: 094fe4526925
child 13:907a36cf5ba1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/views/orders/new.html.erb	Mon Mar 10 03:31:38 2008 +0900
@@ -0,0 +1,21 @@
+<h1>New order</h1>
+
+<%= error_messages_for :order %>
+
+<% form_for(@order) do |f| %>
+  <p>
+    <b>Name</b><br />
+    <%= f.text_field :name %>
+  </p>
+
+  <p>
+    <b>Email</b><br />
+    <%= f.text_field :email %>
+  </p>
+
+  <p>
+    <%= f.submit "Create" %>
+  </p>
+<% end %>
+
+<%= link_to 'Back', orders_path %>