Sha256: 661eaa3af65d119b39f5aff2af195653a33ec553a16d3217a8d60e03c2c0b1fb
Contents?: true
Size: 617 Bytes
Versions: 2
Compression:
Stored size: 617 Bytes
Contents
.nested-fields.order-item .row.align-items-center = f.fields_for :purchasable, (f.object.purchasable || Effective::Product.new) do |pf| .col-md-1= f.number_field :quantity, input_html: { value: f.object.quantity || 1, min: 1 } .col-md-5= pf.text_field :title, maxlength: 255 .col-md-2= pf.price_field :price .col-md-2.mt-4= pf.check_box :tax_exempt, label: "Tax Exempt", title: 'When checked, tax will not be applied to this item' .col-md-1.mt-4 = link_to_remove_association(f, 'data-confirm': 'Really remove this item?') do = icon('x', class: 'btn-danger')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_orders-4.0.0beta2 | app/views/admin/orders/_order_item_fields.html.haml |
effective_orders-4.0.0beta1 | app/views/admin/orders/_order_item_fields.html.haml |