


.qi_row
  .qi_pannel.qi_plain.padding
    =link_to "Técharger en CSV", params.merge(:format => :csv)
    
    %table.table
      %tr
        -@csv.headers.each do |h|
          %td=h
      
      -@csv.each do |csv|
        %tr
          -i = 0
          -csv.each do |t|
            -i += 1
            %td
              -if i == 1
                =link_to t[1], edit_admin_p_fournisseur_order_path(:id => t[1]), :target => "_blank"
              -else
                =t[1]