%tr#p_product_ref{:id => p_product_ref.id}
  
  -tr = {}
    
    
  
  -tr[:uv] = capture do
    %td
      = p_product_ref.uv 

      
    

  -tr[:actions] = capture do
    %td.actions
      = link_to i(:"trash-o"), [:admin, p_product_ref], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer ce produit ? ' } , :remote => true if !PriceLine.where(:p_product_ref_id => p_product_ref).first
      =#debug PriceLine.where(:p_product_ref_id => p_product_ref.id).first
      = link_to i(:pencil), edit_admin_p_product_ref_path(p_product_ref), :remote => false


  =render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => p_product_ref}
    
  