%p
  =label_tag :marque, qit("util-marque-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].to_i), :include_blank => true

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


%p
  =label_tag :year, qit("util-year-label-search","Année de mise en circulation :")
.row
  .col-xs-5
    =text_field_tag :year, params[:year], :placeholder => "ex : 2007", :style => "width:100px;display:block;"
  .col-xs-2
    =qit "to"
  .col-xs-5
    =text_field_tag :max_year, params[:max_year], :placeholder => "ex : 2010", :style => "width:100px;display:block;"
    
    

%p
  =label_tag :min_kms, qit("util-kms-label-search","Kilométrage :")
.row
  .col-xs-5
    =text_field_tag :min_kms, params[:min_kms], :placeholder => "", :style => "width:100px;display:block;"
  .col-xs-2
    =qit "to"
  .col-xs-5
    =text_field_tag :max_kms, params[:max_kms], :placeholder => "", :style => "width:100px;display:block;"
  

    
