15 lines
828 B
Plaintext
15 lines
828 B
Plaintext
=f.inputs do
|
|
|
|
|
|
|
|
=f.input :marque, :label => qit("auto-marque-label-form","Marque :"), :collection => Marque.where(:annonce_cat_id => @annonce.annonce_cat_id).order("fav DESC, name ASC"), :as => :select, :include_blank => false
|
|
|
|
|
|
=f.input :year, :label => qit("auto-year-label-form","Mise en circulation :"), :as => :date_select, :start_year=>1970,:end_year=>Date.today.year
|
|
=f.input :bv, :label => qit("auto-bv-label-form","Boite de vitesse :"), :collection => AnnonceAuto::BV, :as => :select, :include_blank => false
|
|
=f.input :kms, :label => qit("auto-kms-label-form","Kilométrage :")
|
|
=f.input :energie, :label => qit("auto-energie-label-form","Énergie :"), :collection => AnnonceAuto::ENERGIE, :as => :select, :include_blank => false
|
|
=f.input :cv, :label => qit("auto-kms-label-form","Chevaux fiscaux :")
|
|
|
|
|