Moved to Netbeans 6.5. Started order creation
[depot.git] / app / views / line_items / new.html.erb
1 <h1>New line_item</h1>
2
3 <% form_for(@line_item) do |f| %>
4 <%= f.error_messages %>
5
6 <p>
7 <%= f.label :product_id %><br />
8 <%= f.text_field :product_id %>
9 </p>
10 <p>
11 <%= f.label :order_id %><br />
12 <%= f.text_field :order_id %>
13 </p>
14 <p>
15 <%= f.label :quantity %><br />
16 <%= f.text_field :quantity %>
17 </p>
18 <p>
19 <%= f.label :total_price %><br />
20 <%= f.text_field :total_price %>
21 </p>
22 <p>
23 <%= f.submit "Create" %>
24 </p>
25 <% end %>
26
27 <%= link_to 'Back', line_items_path %>