%p
  =label_tag :marque_id, qit("auto-marque-id-label-search","Marque :")
  =select_tag :marque_id, options_from_collection_for_select(Marque.where(:annonce_cat_id => @annonce_cat.id).order("fav DESC, name ASC"), :id, :name, params[:marque_id]), :include_blank => true
  
%p
  =label_tag :energie, qit("auto-energie-label-search","Energie :")
  =select_tag :energie, options_for_select(AnnonceAuto::ENERGIE, params[:energie]), :include_blank => true

%p
  =label_tag :bv, qit("auto-bv-label-search","Boite de vitesse :")
  =select_tag :bv, options_for_select(AnnonceAuto::BV, params[:bv]), :include_blank => true



%p
  =label_tag :year, qit("auto-year-label-search","Année de mise en circulation :")

  =text_field_tag :year, params[:year], :placeholder => "ex : 2007", :style => "width:100px;"

  =qit "to"
  
  =text_field_tag :max_year, params[:max_year], :placeholder => "ex : 2010", :style => "width:100px;"

  =label_tag :min_kms, qit("auto-kms-label-search","Kilométrage :")

  =text_field_tag :min_kms, params[:min_kms], :placeholder => "", :style => "width:100px;"

  =qit "to"

  =text_field_tag :max_kms, params[:max_kms], :placeholder => "", :style => "width:100px;"


  
