This commit is contained in:
Nicolas Bally 2018-01-24 11:26:52 +01:00
parent 351bfff786
commit ca3d3020ca

View File

@ -21,7 +21,7 @@
.qty_form .qty_form
= form_for [:public, product_order_product] do |f| = form_for [:public, product_order_product] do |f|
-if [1,2].include?(product_order_product.product_id) -if [1,2].include?(product_order_product.product_id)
= f.select :qty, [10,20,30,40,50,60,70,80,90,100, 150, 200, 300, 400, 500, 600, 700, 800, 900, 1000], {:style => "width:30px;"} = f.select :qty, [10,20,25,30,40,50,60,70,80,90,100, 150, 200, 300, 400, 500, 600, 700, 800, 900, 1000], {:style => "width:30px;"}
-else -else
= f.text_field :qty, :style => "width:30px;" = f.text_field :qty, :style => "width:30px;"
= f.submit "Mettre à jour" = f.submit "Mettre à jour"