10 lines
318 B
Text
10 lines
318 B
Text
<%= @user.name %>
|
|
|
|
<%= form_for( @order, url: user_orders_path(@user)) do |f| %>
|
|
<%= render 'application/errors', model: @order %>
|
|
|
|
<%= f.fields_for :order_products do |op_field| %>
|
|
<%= render 'order_products/form_row', f: op_field %>
|
|
<% end %>
|
|
<%= f.submit "Order", class: "btn btn-primary " %>
|
|
<% end %>
|