.home_header =qit "annonces-index-p1" do %p Professionnels ou particuliers, déposez vos annonces gratuitement partout dans le monde. Il n'y a pas de publicité et seules certaines options de mise en valeur sont payantes. .add_annonce= link_to raw("")+ic(:"pencil-square-o")+raw("  ")+t("create-ad")+raw(""), new_public_annonce_path, :class => "btn btn-primary" -@no_paginate = true -@uniform = true .center.search_results.padding %h3 =qit("annonces-index-selection-derniere", "Sélection des dernières annonces") =render Annonce.valid_to_show.with_img.where(:annonce_cat_id => 17).where(:frontpage => true).order("list_head DESC, created_at DESC").limit(2).all =render Annonce.valid_to_show.with_img.where(:annonce_cat_id => 5).where(:frontpage => true).order("list_head DESC, created_at DESC").limit(2).all =render Annonce.valid_to_show.with_img.where(:frontpage => true).where("annonce_cat_id NOT IN (?)", [17,5,61]).order("list_head DESC, created_at DESC").limit(2).all .clear .first_cats .center %h3 =qit("annonces-index-categories", "Catégories à la une") =link_to search_public_annonces_path(:annonce_cat_id => 5) do .icon=ic(:car) Autos =link_to search_public_annonces_path(:annonce_cat_id => 6) do .icon=ic(:motorcycle) Motos, scooter, quads =link_to search_public_annonces_path(:annonce_cat_id => 17) do .icon=ic(:home) =qit("annonces-index-habitations", "Habitations") =link_to search_public_annonces_path(:annonce_cat_id => 28) do .icon=ic(:bed) =qit("annonces-index-locations-saisonnières", "Locations saisonnières") .center{:style => "text-align:center;padding:2em;"} =link_to search_public_annonces_path() do =qit("annonces-index-annonces-voir", "Voir toutes les annonces") >