app/themes/default/views/pwb/welcome/index.html.erb in pwb-1.1.1 vs app/themes/default/views/pwb/welcome/index.html.erb in pwb-1.2.0

- old
+ new

@@ -1,17 +1,17 @@ <% page_title @current_agency.company_name %> +<%= render '/pwb/meta_tags' %> <div> <div class="jumbotron"> <div class="jumbotron-left"> <div id="homepageCarousel" class="carousel carousel-1 carousel-fixed-height slide" data-interval="<%= @carousel_speed %>" data-ride="carousel"> <ol class="carousel-indicators"> <% @carousel_items.each.with_index do |carousel_item, index| %> <li data-target="#homepageCarousel" data-slide-to="<%= index %>" class=""></li> <% end %> </ol> <div class="carousel-inner"> - <% @carousel_items.each.with_index do |carousel_item, index| %> <div class="item item-dark <%= " active " if index == 0 %>" style="<%= bg_image carousel_item.default_photo, quality: "auto", height: 800, crop: "fit", gradient: "rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)" %>"> <div class="container"> @@ -33,19 +33,29 @@ </a> <% end %> </div> </div> <div class="jumbotron-right"> - <!-- FIND property list WIDGET --> </div> </div> </div> +<% if @current_website.configuration["show_landing_searchbar"] %> + <div class="landing-search-container row fondo_secundario"> + <div class="col-md-1"></div> + <div class="col-md-10"> + <%= render '/pwb/search/search_form_landing' %> + </div> + <div class="col-md-1"></div> + </div> +<% end %> + + <%= render '/pwb/welcome/content_area_cols' %> <% if @properties_for_sale.length > 0 %> <%= render :partial => '/pwb/welcome/single_property_row', :locals => { properties: @properties_for_sale, rent_or_sale: 'for_sale', title_key: 'propertyForSale' } %> <% end %> <% if @properties_for_rent.length > 0 %> <%= render :partial => '/pwb/welcome/single_property_row', :locals => { properties: @properties_for_rent, rent_or_sale: 'for_rent', title_key: 'propertyForRent' } %> <% end %> <%# if @about_us %> - <%#= render '/pwb/welcome/about_us' %> -<%# end %> +<%#= render '/pwb/welcome/about_us' %> +<%# end %> \ No newline at end of file