tap/app/views/orders/new.html.haml
2015-09-17 14:05:33 +02:00

9 lines
311 B
Text

%h3
Order for #{@user.name} (Huidige schuld: #{euro(@user.debt)})
.row
= f_form_for [@user, @order] do |f|
= f.error_messages
.col-md-12
= f.fields_for :order_items do |op_field|
= render op_field.object, f: op_field, product: op_field.object.product
= render 'orders/price', f: f