%tr
  %td{:style => "width:280px"}
    =link_to public_product_path(:id => product_order_product.product.id, :slug => product_order_product.product.lang(I18n.locale).slug) do
      =image_tag product_order_product.product.default_image.image_file.file.large.medium.small.thumb.url if product_order_product.product.default_image
  %td
    =link_to public_product_path(:id => product_order_product.product.id, :slug => product_order_product.product.lang(I18n.locale).slug) do
      = product_order_product.product.lang(:fr).title

  %td
    = product_order_product.product_size.name if product_order_product.product_size
  %td
    = product_order_product.product_option.lang(I18n.locale).name if product_order_product.product_option


  -if !@recap
    %td
      = form_for [:public, product_order_product] do |f|
        %p= f.text_field :qty, :style => "width:50px;"
        %p= f.submit qit("update", "Mettre à jour")
      =link_to ic(:"trash-o"), public_product_order_product_path(:id => product_order_product.id, :product_order_product => {:qty => 0}), :method => :put

  %td
    = number_to_currency(product_order_product.product.final_price_ttc.to_f, locale: :fr)
  %td
    =product_order_product.qty
  %td
    = number_to_currency(product_order_product.final_price_ttc_with_qty, locale: :fr)
