%tr.m_odr_product_remise_form.field
  %td{:style => "width:200px;"}= form.input :champ, :label => false, :as => :select, :collection => @import_csv.table_name.classify.constantize.import_csv_fields.map{|a| a.to_s}
  

  -if !form.object.header? and @import_csv.import_csv_headers.all.map{|a| a.name}.include?(form.object.champ)
    -form.object.header = form.object.champ
    
  %td{:style => "width:200px;"}= form.input :header, :label => false, :as => :select, :collection => @import_csv.import_csv_headers.all.map{|a| a.name}
  %td{:style => "width:200px;"}= form.input :value, :label => false, :placeholder => "Valeure fixe"
            
  %td=link_to_remove_fields ic(:"trash-o"), form