Moved to Netbeans 6.5. Started order creation
[depot.git] / app / views / orders / edit.html.erb
1 <h1>Editing order</h1>
2
3 <% form_for(@order) do |f| %>
4 <%= f.error_messages %>
5
6 <p>
7 <%= f.label :name %><br />
8 <%= f.text_field :name %>
9 </p>
10 <p>
11 <%= f.label :address %><br />
12 <%= f.text_area :address %>
13 </p>
14 <p>
15 <%= f.label :email %><br />
16 <%= f.text_field :email %>
17 </p>
18 <p>
19 <%= f.label :pay_type %><br />
20 <%= f.text_field :pay_type %>
21 </p>
22 <p>
23 <%= f.submit "Update" %>
24 </p>
25 <% end %>
26
27 <%= link_to 'Show', @order %> |
28 <%= link_to 'Back', orders_path %>