10 lines
589 B
Plaintext

=f.inputs do
=f.input :m_type,:label => qit("moto-m_type-form","Type :"), :collection => AnnonceMoto::MTYPES, :as => :select, :include_blank => false
=f.input :marque, :label => qit("moto-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 :cylindree, :label => qit("moto-cylindree-form","Cylindrée :")
=f.input :kms, :label => qit("moto-kms-form","Kms :")
=f.input :year, :label => qit("moto-year-form","Mise en circulation"), :as => :date_select