14 lines
904 B
Plaintext

=f.inputs do
=f.input :carav_type, :label => qit("carav-carav-type-form","Type :"), :collection => AnnonceCarav::CARAV_TYPES, :as => :select, :include_blank => false
=f.input :marque, :label => qit("carav-marque-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("carav-year-form","Mise en circulation :"), :as => :date_select
=f.input :bv, :label => qit("carav-bv-form","Boite de vitesse :"), :collection => AnnonceCarav::BV, :as => :select, :include_blank => false
=f.input :kms, :label => qit("carav-kms-form","Kilométrage :")
=f.input :energie, :label => qit("carav-energie-form","Énergie :"), :collection => AnnonceCarav::ENERGIE, :as => :select, :include_blank => false
=f.input :cv, :label => qit("carav-cv-form","Chevaux fiscaux :")