17 lines
1.5 KiB
Plaintext
17 lines
1.5 KiB
Plaintext
=f.inputs do
|
|
=f.input :offre_type, :label => qit("habs-offre_type-form","Type d'offre :"), :collection => AnnonceHab::OFFRE_TYPES, :as => :select, :include_blank => false
|
|
=f.input :bien_type, :label => qit("habs-bien_type-form","Type de bien :"), :collection => AnnonceHab::BIEN_TYPES, :as => :select, :include_blank => false
|
|
=f.input :dpe, :label => qit("habs-dpe-form","Note DPE :"), :collection => AnnonceHab::DPE, :as => :select, :include_blank => false
|
|
=f.input :ges, :label => qit("habs-ges-form","Note GES :"), :collection => AnnonceHab::GES, :as => :select, :include_blank => false
|
|
=f.input :nbr_pieces, :label => qit("habs-nbr_pieces-form","Nombre de pièces :")
|
|
=f.input :nbr_chambres, :label => qit("habs-nbr_chambres-form","Nombre de chambres :")
|
|
=f.input :surface_habitable, :label => qit("habs-surface_habitable-form","Surface habitable :")
|
|
=f.input :surface_terrain, :label => qit("habs-surface_terrain-form","Surface terrain :")
|
|
=f.input :nbr_niveaux, :label => qit("habs-nbr_niveaux-form","Nombre de niveaux :")
|
|
=f.input :build_year, :label => qit("habs-build_year-form","Année de construction :")
|
|
=f.input :chauffage_type, :label => qit("habs-chauffage_type-form","Type de chauffage :"), :collection => AnnonceHab::CHAUFFAGE, :as => :select, :include_blank => false
|
|
|
|
=#f.input :marque, :label => "Marque :", :collection => AnnonceAuto::MARQUES, :as => :select, :include_blank => false
|
|
=#f.input :start_drive_at, :label => "Mise en circulation", :as => :date_select
|
|
|