sideplace_app/app/views/public/annonce_habs/_annonce_hab.html.haml

59 lines
1.4 KiB
Plaintext

%p
=qit "habs-offre_type-label","Type d'habitation :"
=AnnonceHab::OFFRE_TYPES.invert[annonce_hab.offre_type]
%p
=qit "habs-bien_type-label","Type de bien :"
=AnnonceHab::BIEN_TYPES.invert[annonce_hab.bien_type]
%p
=qit "habs-dpe-label","DPE :"
=AnnonceHab::DPE.invert[annonce_hab.dpe]
%p
=qit "habs-ges-label","GES :"
=AnnonceHab::GES.invert[annonce_hab.ges]
-if annonce_hab.nbr_pieces?
%p
=qit "habs-nbr_pieces-label","Nombre de pièces :"
=annonce_hab.nbr_pieces
-if annonce_hab.nbr_chambres?
%p
=qit "habs-nbr_chambres-label","Nombre de chambres :"
=annonce_hab.nbr_chambres
-if annonce_hab.surface_habitable?
%p
=qit "habs-surface_habitable-label","Surface habitable :"
=annonce_hab.surface_habitable
-if annonce_hab.surface_terrain?
%p
=qit "habs-surface_terrain-label","Surface du terrain :"
=annonce_hab.surface_terrain
-if annonce_hab.nbr_niveaux?
%p
=qit "habs-nbr_niveaux-label","Nombre de niveaux :"
=annonce_hab.nbr_niveaux
-if annonce_hab.build_year?
%p
=qit "habs-build_year-label","Année de construction :"
=annonce_hab.build_year
%p
=qit "habs-chauffage_type-label","Type de chauffage :"
=annonce_hab.chauffage_type
%hr
=qit("other-informations-label","Autres informations :")
%ul
-@annonce.tag_cats.each do |tag_cat|
%li=tag_cat.name