.row .annonces_body =render :partial => "public/annonces/search_form" if !@no_search .annonces_sidebar #map-canvas{:style => "background:gray;"} #search_map .select_radius#with-radius-label{:onclick => '$("#with_radius_check").prop("checked", true);init_radius_form();$("#search_form form").submit();'} =t("in-radius") %span.radius_detail =t("de") =text_field_tag :radius_value_field, params[:place_dist], :id => "radius_value_field", :onkeydown => "update_radius();update_bounds();", :onkeyup => "update_radius();update_bounds();", :onkeychange => "update_radius();update_bounds();" km .mask .infos %strong Nouveau ! %br Indiquez un lieu dans "Où" puis ajustez en déplacant le marqueur rouge et en modifiant le rayon ! .search_line =#text_field_tag :place, params[:place], :id => "place",:placeholder => t("where") #info .search_results -if @annonce_cat %h1 =t("ads-in") =@annonce_cat.name =render :partial => "public/annonces/index" =render :partial => "public/annonces/search_js" :javascript $(".annonces_sidebar").css("height", ($(window).height() - $(".top").height())+"px") :javascript $(window).on( "resize", function(){ map.fitBounds(radiusWidget.get('bounds')); });