- @show_page = 1 - @show_page_link_ru = "/ru/отель/#{@hotel.id}-#{@hotel.title_ru.gsub(/[[:punct:]]/,'').gsub(/\s+/,'-').mb_chars.downcase}" - @show_page_link_en = "/hotel/#{@hotel.id}-#{@hotel.title_en.parameterize}" - @show_page_link_es = "/es/hotel/#{@hotel.id}-#{@hotel.title_es.parameterize}" - @show_page_link_fr = "/fr/hotel/#{@hotel.id}-#{@hotel.title_fr.parameterize}" - @url = request.original_url - @@url = request.original_url - @contact_type = "hotel" - @locale = I18n.locale.to_s - @hreflang_en = "https://#{request.host}"+@show_page_link_en - @hreflang_es = "https://#{request.host}"+@show_page_link_es - @hreflang_ru = "https://#{request.host}"+(CGI.unescape(@show_page_link_ru)) - @hreflang_fr = "https://#{request.host}"+@show_page_link_fr -if @hotel.map == true %script{:async => "", :defer => "defer", :src => "https://maps.googleapis.com/maps/api/js?key=AIzaSyAOdqfgDBSFjqqDfy33foyxNPoqim4HWko&callback=initMap"} - @li = '' - if @hotel.hidden == true - @hidden = "?show=TGS-H"+@hotel.id.to_s - else - @hidden = "" - @country_w = "" - @province_w = "" - @region_w = "" - @location_w = "" - @garden_w = "" - @garden_w2 = "" - @province_w2 = "" - @location_w2 = "" - @keyswords = "" - @province_description = "" -if I18n.locale.to_s == 'en' - @title_locale = @hotel.title_en - if @hotel.country_id != nil - @country_w = @country.en - @country_id = @hotel.country_id - if @hotel.province_id != nil - @province_w = ', ' + @province.en - @province_w2 = @province.en - @province_description = @province.en - @province_id = @hotel.province_id - if @hotel.region_id != nil - @region_w = ', ' + @region.en - @region_w2 = @region.en - @region_id = @hotel.region_id - if @hotel.location_id != nil - @location_w = ', ' + @location.en - @location_w2 = @location.en - @location_id = @hotel.location_id - if @hotel.keys_en != nil - @keyswords = ', ' + @hotel.keys_en -if I18n.locale.to_s == 'es' - @title_locale = @hotel.title_es - if @hotel.country_id != nil - @country_w = @country.es - @country_id = @hotel.country_id - if @hotel.province_id != nil - @province_w = ', ' + @province.es - @province_w2 = @province.es - @province_description = @province.es - @province_id = @hotel.province_id - if @hotel.region_id != nil - @region_w = ', ' + @region.es - @region_w2 = @region.es - @region_id = @hotel.region_id - if @hotel.location_id != nil - @location_w = ', ' + @location.es - @location_w2 = @location.es - @location_id = @hotel.location_id - if @hotel.keys_es != nil - @keyswords = ', ' + @hotel.keys_es -if I18n.locale.to_s == 'ru' - @title_locale = @hotel.title_ru - if @hotel.country_id != nil - @country_w = @country.ru - @country_id = @hotel.country_id - if @hotel.province_id != nil - @province_w = ', ' + @province.ru - @province_w2 = @province.ru - @province_description = @province.ru - @province_id = @hotel.province_id - if @hotel.region_id != nil - @region_w = ', ' + @region.ru - @region_w2 = @region.ru - @region_id = @hotel.region_id - if @hotel.location_id != nil - @location_w = ', ' + @location.ru - @location_w2 = @location.ru - @location_id = @hotel.location_id - if @hotel.keys_ru != nil - @keyswords = ', ' + @hotel.keys_ru -if I18n.locale.to_s == 'fr' - @title_locale = @hotel.title_fr - if @hotel.country_id != nil - @country_w = @country.fr - @country_id = @hotel.country_id - if @hotel.province_id != nil - @province_w = ', ' + @province.fr - @province_w2 = @province.fr - @province_description = @province.fr - @province_id = @hotel.province_id - if @hotel.region_id != nil - @region_w = ', ' + @region.fr - @region_w2 = @region.fr - @region_id = @hotel.region_id - if @hotel.location_id != nil - @location_w = ', ' + @location.fr - @location_w2 = @location.fr - @location_id = @hotel.location_id - if @hotel.keys_fr != nil - @keyswords = ', ' + @hotel.keys_fr - @direction = @country_w + @province_w + @region_w + @location_w - @direction_title = @region_w + @location_w - @pag_title = @title_locale - @hotel_star_c = "" - if @hotel.stars - if @hotel.stars == '1' - @hotel_star_c = "1 " + t('star') + ' ' + t('hotel') - if @hotel.stars == '1S' - @hotel_star_c = "1 " + t('star') + ' ' + t('superior') + ' ' + t('hotel') - if @hotel.stars == '2' - @hotel_star_c = "2 " + t('star') + ' ' + t('hotel') - if @hotel.stars == '2S' - @hotel_star_c = "2 " + t('star') + ' ' + t('superior') + ' ' + t('hotel') - if @hotel.stars == '3' - @hotel_star_c = "3 " + t('star') + ' ' + t('hotel') - if @hotel.stars == '3S' - @hotel_star_c = "3 " + t('star') + ' ' + t('superior') + ' ' + t('hotel') - if @hotel.stars == '4' - @hotel_star_c = "4 " + t('star') + ' ' + t('hotel') - if @hotel.stars == '4S' - @hotel_star_c = "4 " + t('star') + ' ' + t('superior') + ' ' + t('hotel') - if @hotel.stars == '5' - @hotel_star_c = "5 " + t('star') + ' ' + t('hotel') - if @hotel.stars == '5S' - @hotel_star_c = "5 " + t('star') + ' ' + t('superior') + ' ' + t('hotel') -if I18n.locale.to_s == 'en' - if @hotel_description_en != '' - @pag_description = @hotel_description_en - else - @pag_description = @pag_title + '. ' + @hotel_star_c + ' ' + t('in') + ' ' + @location_w2 + @region_w + ' - ' + @province_w2 + ' (' + @country_w + ')' + '. ' + t('description_show_hotel') + ' ' + @pag_title + '.' -if I18n.locale.to_s == 'es' - if @hotel_description_es != '' - @pag_description = @hotel_description_es - else - @pag_description = @pag_title + '. ' + @hotel_star_c + ' ' + t('in') + ' ' + @location_w2 + @region_w + ' - ' + @province_w2 + ' (' + @country_w + ')' + '. ' + t('description_show_hotel') + ' ' + @pag_title + '.' -if I18n.locale.to_s == 'fr' - if @hotel_description_fr != '' - @pag_description = @hotel_description_fr - else - @pag_description = @pag_title + '. ' + @hotel_star_c + ' ' + t('in') + ' ' + @location_w2 + @region_w + ' - ' + @province_w2 + ' (' + @country_w + ')' + '. ' + t('description_show_hotel') + ' ' + @pag_title + '.' -if I18n.locale.to_s == 'ru' - if @hotel_description_ru != '' - @pag_description = @hotel_description_ru - else - @pag_description = @pag_title + '. ' + @hotel_star_c + ' ' + t('in') + ' ' + @location_w2 + @region_w + ' - ' + @province_w2 + ' (' + @country_w + ')' + '. ' + t('description_show_hotel') + ' ' + @pag_title + '.' - @pag_keywords = @pag_title.strip.split(/\s+/).to_sentence(words_connector: ', ', last_word_connector: ', ') + ', ' + t('keywords_show_hotel') + ', ' + @country_w + @province_w + @region_w + @location_w - @og_title = @pag_title - @og_type = t('hotel') - @og_url = request.original_url - @og_description = @pag_description #fb-root %script{:async => "", :crossorigin => "anonymous", :defer => "defer", :nonce => "xhM8Ve9y", :src => "https://connect.facebook.net/es_ES/sdk.js#xfbml=1&version=v8.0&appId=954250338385847&autoLogAppEvents=1"} #w_hotels_jquery_start #search_fx_jquery_start #search_fx_hotel_jquery_start .bg-searcher .container .row .col-lg-12.col-md-12.col-sm-12.col-xs-12.bg-searcher-transparency -if I18n.locale.to_s == 'en' .h2-welcome-text = "An unforgettable stay awaits" -if I18n.locale.to_s == 'es' .h2-welcome-text = "Una estancia inolvidable que les espera" -if I18n.locale.to_s == 'ru' .h2-welcome-text-ru = "Вас ожидает незабываемое проживание" -if I18n.locale.to_s == 'fr' .h2-welcome-text = "Un séjour inoubliable vous attend" .ex-search.back-search.font-search = form_tag w_hotels_path, :method => 'get', :id => "form-search-in", :class => '' do .row .col-lg-1.col-md-1 - @urlpath = request.path.to_s - @url_locale = @urlpath.split('/') - @urllast = request.path.split('/').last.to_s -if @locale == 'en' .col-lg-2.col-md-2.col-sm-12.col-xs-12.ex-search .form-request-m = select_tag "stars", options_for_select([["★"+" ("+@hotels1.count.to_s+")","1"],["★★"+" ("+@hotels2.count.to_s+")","2"],["★★★"+" ("+@hotels3.count.to_s+")","3"],["★★★★"+" ("+@hotels4.count.to_s+")","4"],["★★★★★"+" ("+@hotels5.count.to_s+")","5"]], params[:stars]), :class => 'form-control padding-form', include_blank: t('all')+" ("+@hotelsall.count.to_s+")" .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = collection_select(:country, :id, @countrieshotel, :id, :en, {:include_blank => t('country')+': '}, :name => 'countryh', class: "form-control padding-form") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :province, :id, Country.order(:en), :provinces, :en, :id, :en, {prompt: t('city')+': '}, :name => 'provinceh', class: "form-control padding-form s1") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :region, :id, Province.order(:en), :regions, :en, :id, :en, {prompt: t('area')+': '}, :name => 'regionh', class: "form-control padding-form s2") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :location, :id, Region.order(:en), :locations, :en, :id, :en, {prompt: t('location')+': '}, :name => 'locationh', class: "form-control padding-form s3") -if @locale == 'es' .col-lg-2.col-md-2.col-sm-12.col-xs-12.ex-search .form-request-m = select_tag "stars", options_for_select([["★"+" ("+@hotels1.count.to_s+")","1"],["★★"+" ("+@hotels2.count.to_s+")","2"],["★★★"+" ("+@hotels3.count.to_s+")","3"],["★★★★"+" ("+@hotels4.count.to_s+")","4"],["★★★★★"+" ("+@hotels5.count.to_s+")","5"]], params[:stars]), :class => 'form-control padding-form', include_blank: t('all')+" ("+@hotelsall.count.to_s+")" .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = collection_select(:country, :id, @countrieshotel, :id, :es, {:include_blank => t('country')+': '}, :name => 'countryh', class: "form-control padding-form") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :province, :id, Country.order(:es), :provinces, :es, :id, :es, {prompt: t('city')+': '}, :name => 'provinceh', class: "form-control padding-form s1") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :region, :id, Province.order(:es), :regions, :es, :id, :es, {prompt: t('area')+': '}, :name => 'regionh', class: "form-control padding-form s2") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :location, :id, Region.order(:es), :locations, :es, :id, :es, {prompt: t('location')+': '}, :name => 'locationh', class: "form-control padding-form s3") -if @locale == 'ru' .col-lg-2.col-md-2.col-sm-12.col-xs-12.ex-search .form-request-m = select_tag "stars", options_for_select([["★"+" ("+@hotels1.count.to_s+")","1"],["★★"+" ("+@hotels2.count.to_s+")","2"],["★★★"+" ("+@hotels3.count.to_s+")","3"],["★★★★"+" ("+@hotels4.count.to_s+")","4"],["★★★★★"+" ("+@hotels5.count.to_s+")","5"]], params[:stars]), :class => 'form-control padding-form', include_blank: t('all')+" ("+@hotelsall.count.to_s+")" .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = collection_select(:country, :id, @countrieshotel, :id, :ru, {:include_blank => t('country')+': '}, :name => 'countryh', class: "form-control padding-form") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :province, :id, Country.order(:ru), :provinces, :ru, :id, :ru, {prompt: t('city')+': '}, :name => 'provinceh', class: "form-control padding-form s1") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :region, :id, Province.order(:ru), :regions, :ru, :id, :ru, {prompt: t('area')+': '}, :name => 'regionh', class: "form-control padding-form s2") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :location, :id, Region.order(:ru), :locations, :ru, :id, :ru, {prompt: t('location')+': '}, :name => 'locationh', class: "form-control padding-form s3") -if @locale == 'fr' .col-lg-2.col-md-2.col-sm-12.col-xs-12.ex-search .form-request-m = select_tag "stars", options_for_select([["★"+" ("+@hotels1.count.to_s+")","1"],["★★"+" ("+@hotels2.count.to_s+")","2"],["★★★"+" ("+@hotels3.count.to_s+")","3"],["★★★★"+" ("+@hotels4.count.to_s+")","4"],["★★★★★"+" ("+@hotels5.count.to_s+")","5"]], params[:stars]), :class => 'form-control padding-form', include_blank: t('all')+" ("+@hotelsall.count.to_s+")" .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = collection_select(:country, :id, @countrieshotel, :id, :fr, {:include_blank => t('country')+': '}, :name => 'countryh', class: "form-control padding-form") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :province, :id, Country.order(:fr), :provinces, :fr, :id, :fr, {prompt: t('city')+': '}, :name => 'provinceh', class: "form-control padding-form s1") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :region, :id, Province.order(:fr), :regions, :fr, :id, :fr, {prompt: t('area')+': '}, :name => 'regionh', class: "form-control padding-form s2") .col-lg-2.col-md-2.col-sm-3.col-xs-12.ex-search .form-request-m = grouped_collection_select( :location, :id, Region.order(:fr), :locations, :fr, :id, :fr, {prompt: t('location')+': '}, :name => 'locationh', class: "form-control padding-form s3") .row .col-lg-3.col-md-4.col-sm-3 .col-lg-6.col-md-4.col-sm-6.col-xs-12.ex-search %button.btn.btn-block.btn-primary-search.btn-success.search-btn-x{:type => "submit", :class => 'padding-form', :title => t('search')} = t('search') .col-lg-3.col-md-4.col-sm-3 .col-lg-12.col-md-12.col-sm-12.col-xs-12 -if I18n.locale.to_s == 'en' .text-sercher-bottom = "Because our guests seek a unique experience that reflects their personal lifestyle and preferences" -if I18n.locale.to_s == 'es' .text-sercher-bottom = "Porque nuestros huéspedes buscan una experiencia única que refleje su estilo de vida personal y sus preferencias" -if I18n.locale.to_s == 'ru' .text-sercher-bottom-ru = "Потому что наши гости ищут уникальный отдых, который отражает их личный образ жизни и предпочтения" -if I18n.locale.to_s == 'fr' .text-sercher-bottom = "Parce que nos clients recherchent une expérience unique qui reflète leur style de vie et leurs préférences" .show-margin - if @hotel.hidden == true and @show == nil .container %h1.center.show-title = @pag_title .center = image_tag("web/candado.png", size: '50x50', :alt => @pag_title + '. ' + t('temporarily_unavailable')) - else .container .row - if @hotel.ImagesHotels.exists? - @cont_img = 0 .img-principal-page.fix-bug-with-slider .slider-for - @hotel.ImagesHotels.order("position").each do |img| %div.zoom-gallery1.zoom-gallery-conf = link_to(image_tag(img.image.slide.url, class: 'img-thumbnail', :alt => @pag_title), img.image.url, target: '_blank', :title => @pag_title, "data-source" => "", :alt => @pag_title) - @cont_img = @cont_img+1 - if @cont_img == 1 - @og_image = img.image.thumbnlg.to_s - if @cont_img > 1 .margin-sub-img.fix-bug-with-slider .slider-nav - @hotel.ImagesHotels.order("position").each do |img| %div.margin-on-sub-img .hidden-xs = image_tag(img.image.thumblittle.url, class: 'img-thumbnail fix-pad-img', :alt => @pag_title) .hidden-lg.hidden-md.hidden-sm = image_tag(img.image.thumbxs.url, class: 'img-thumbnail fix-pad-img', :alt => @pag_title) - else .center = image_tag("web/no-foto-big.jpg", class: 'img-thumbnail', size: '820x410', :alt => "no foto") - @og_image = "/assets/web/no-foto-big.jpg" .row .col-lg-8.col-md-12.col-sm-12.col-xs-12 .center.stars - if @hotel.stars - if @hotel.stars == '1' = "★" - if @hotel.stars == '1S' = "★S" - if @hotel.stars == '2' = "★★" - if @hotel.stars == '2S' = "★★S" - if @hotel.stars == '3' = "★★★" - if @hotel.stars == '3S' = "★★★S" - if @hotel.stars == '4' = "★★★★" - if @hotel.stars == '4S' = "★★★★S" - if @hotel.stars == '5' = "★★★★★" - if @hotel.stars == '5S' = "★★★★★S" %h1.center.show-title = @pag_title %h2.h2-show %a{:href => w_hotels_path + '?utf8=✓&stars=' + @hotel.stars, :title => t('star')} - if @hotel.stars - if @hotel.stars == '1' = "1" + ' ' + t('star') - if @hotel.stars == '1S' = "1" + ' ' + t('star') + ' ' + t('superior') - if @hotel.stars == '2' = "2" + ' ' + t('star') - if @hotel.stars == '2S' = "2" + ' ' + t('star') + ' ' + t('superior') - if @hotel.stars == '3' = "3" + ' ' + t('star') - if @hotel.stars == '3S' = "3" + ' ' + t('star') + ' ' + t('superior') - if @hotel.stars == '4' = "4" + ' ' + t('star') - if @hotel.stars == '4S' = "4" + ' ' + t('star') + ' ' + t('superior') - if @hotel.stars == '5' = "5" + ' ' + t('star') - if @hotel.stars == '5S' = "5" + ' ' + t('star') + ' ' + t('superior') %a{:href => w_hotels_path, :title => t('hotel')} = t('hotel') = " - " - if @hotel.country_id != nil %a{:href => w_hotels_path+"?utf8=✓&country="+@country_id.to_s, :title => @country_w} = @country_w - if @hotel.province_id != nil = ", " %a{:href => w_hotels_path+"?utf8=✓&country="+@country_id.to_s+"&province="+@province_id.to_s, :title => @province_w2} = @province_w2 - if @hotel.region_id != nil = ", " %a{:href => w_hotels_path+"?utf8=✓&country="+@country_id.to_s+"&province="+@province_id.to_s+"®ion="+@region_id.to_s, :title => @region_w2} = @region_w2 - if @hotel.location_id != nil = ", " %a{:href => w_hotels_path+"?utf8=✓&country="+@country_id.to_s+"&province="+@province_id.to_s+"®ion="+@region_id.to_s+"&location="+@location_id.to_s, :title => @location_w2} = @location_w2 .ref-show = "Ref: TGS-H" + @hotel.id.to_s -if current_admintg -if current_admintg.level >= 1 = '(' %a{href: w_hotel_path + '.pdf' + @hidden, style: 'text-decoration: none;', :target => "_blank"} %span.link-pdf.hidden-xs = t('pdf') = ')' .fb-btn-left .fb-share-button{"data-href" => @og_url, "data-layout" => "button", "data-size" => "small"} %a.fb-xfbml-parse-ignore{:href => "https://www.facebook.com/sharer/sharer.php?u="+@og_url+"%2F&src=sdkpreparse", :target => "_blank"} = t('share') %a{:href => "https://api.whatsapp.com/send?text=" + @title_locale + "%20" + @og_url, :target => "_blank"} -if I18n.locale.to_s == 'en' = image_tag("web/icons/whatsapp-share-en.png", size: '90x33', :alt => "whatsapp share") -if I18n.locale.to_s == 'es' = image_tag("web/icons/whatsapp-share-es.png", size: '90x33', :alt => "whatsapp Compartir") -if I18n.locale.to_s == 'ru' = image_tag("web/icons/whatsapp-share-ru.png", size: '90x33', :alt => "whatsapp Поделиться") -if I18n.locale.to_s == 'fr' = image_tag("web/icons/whatsapp-share-fr.png", size: '90x33', :alt => "whatsapp Partager") - if @hotel.parking || @hotel.wifi || @hotel.sky_in_out || @hotel.pool_outdoor || @hotel.pool_indoor || @hotel.jacuzzi || @hotel.spa || @hotel.sauna || @hotel.garden || @hotel.beach_front || @hotel.sea_view || @hotel.air_conditioning || @hotel.tv || @hotel.pets_allowed || @hotel.wheel_chairs || @hotel.garden_view .row %hr .features-titles = t('features_facilities') %ul.features-accomm-show - if @hotel.parking %li = @li + t('parking') - if @hotel.wifi %li = @li + t('wifi') - if @hotel.sky_in_out %li = @li + t('sky_in_out') - if @hotel.pool_outdoor %li = @li + t('pool_outdoor') - if @hotel.pool_indoor %li = @li + t('pool_indoor') - if @hotel.jacuzzi %li = @li + t('jacuzzi') - if @hotel.spa %li = @li + t('spa') - if @hotel.sauna %li = @li + t('sauna') - if @hotel.garden %li = @li + t('garden') - if @hotel.beach_front %li = @li + t('beach_front') - if @hotel.sea_view %li = @li + t('sea_view') - if @hotel.garden_view %li = @li + t('garden_view') - if @hotel.air_conditioning %li = @li + t('air_conditioning') - if @hotel.tv %li = @li + t('tv') - if @hotel.pets_allowed %li = @li + t('pets_allowed') - if @hotel.wheel_chairs %li = @li + t('suitable_for_wheelchairs') - if @hotel.skiing_snowboarding || @hotel.cycling || @hotel.golf || @hotel.hiking || @hotel.mountain_biking || @hotel.riding || @hotel.sailing || @hotel.surfing || @hotel.tennis || @hotel.cross_country_skiing .row %hr .features-titles = t('activities_resort') %ul.features-accomm-show - if @hotel.skiing_snowboarding %li = @li + t('skiing_snowboarding') - if @hotel.cycling %li = @li + t('cycling') - if @hotel.golf %li = @li + t('golf') - if @hotel.hiking %li = @li + t('hiking') - if @hotel.mountain_biking %li = @li + t('mountain_biking') - if @hotel.riding %li = @li + t('riding') - if @hotel.sailing %li = @li + t('sailing') - if @hotel.surfing %li = @li + t('surfing') - if @hotel.tennis %li = @li + t('tennis') - if @hotel.cross_country_skiing %li = @li + t('cross_country_skiing') -if I18n.locale.to_s == 'en' - if @hotel.text_en != '' .row %hr .features-titles = t('description') .description-text = raw(@hotel.text_en) -if I18n.locale.to_s == 'es' - if @hotel.text_es != '' .row %hr .features-titles = t('description') .description-text = raw(@hotel.text_es) -if I18n.locale.to_s == 'ru' - if @hotel.text_ru != '' .row %hr .features-titles = t('description') .description-text = raw(@hotel.text_ru) -if I18n.locale.to_s == 'fr' - if @hotel.text_fr != '' .row %hr .features-titles = t('description') .description-text = raw(@hotel.text_fr) - unless @hotel.iframe_youtube == nil or @hotel.iframe_youtube == "" or @hotel.iframe_youtube == " " .row %hr .features-titles = t('video') .iframe-youtube %div{:style => "position:relative;width:100%;height:0;padding-bottom:56.25%"} %iframe{:allow => "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture", :allowfullscreen => "", :frameborder => "0", :src => "https://www.youtube.com/embed/"+@hotel.iframe_youtube.to_s+"?rel=0&showinfo=0", :style => "position:absolute;top:0;left:0;width:100%;height:100%"} - if !@hotel.distance_sea.blank? || !@hotel.distance_lake.blank? || !@hotel.distance_ski_mountain_lift.blank? || !@hotel.distance_centre.blank? || @hotel.map .row %hr .features-titles = t('location') %ul.features-accomm-show-2 - unless @hotel.distance_sea.blank? %li = @li + t('distance_sea') + ": " + @hotel.distance_sea - unless @hotel.distance_lake.blank? %li = @li + t('distance_lake') + ": " + @hotel.distance_lake - unless @hotel.distance_ski_mountain_lift.blank? %li = @li + t('distance_ski_mountain_lift') + ": " + @hotel.distance_ski_mountain_lift - unless @hotel.distance_centre.blank? %li - if @hotel.distance_centre == "central" = @li + t('distance_centre') + ": " + t('central') - else = @li + t('distance_centre') + ": " + @hotel.distance_centre - if @hotel.map %input{:name => "glat", :id => "glat", :value => @hotel.lat, :class => 'buscador-shadow', :placeholder => '', :type=>"hidden"} %input{:name => "glng", :id => "glng", :value => @hotel.lng, :class => 'buscador-shadow', :placeholder => '', :type=>"hidden"} %input{:name => "accommodation_name", :id => "accommodation_name", :value => @pag_title, :class => 'buscador-shadow', :placeholder => '', :type=>"hidden"} %br #map{:style => "width: 100%; height: 300px;"} %br .show-right-part .col-lg-4.col-md-12.col-sm-12.col-xs-12 .online-request .fas.fa-envelope = t('online_booking').mb_chars.upcase .online-request-form = render 'contacts/formrequest_external' %br .online-request = t('contact').mb_chars.upcase .online-request-form %p.center %b = t('whatsapp').mb_chars %p.center %b +34 629 617 976 .center = image_tag("web/img-all/whatsapp_es.jpg", class: 'img-thumbnail', alt: 'whatsapp', width: '200', height: '200') %p %b = t('attention_phones').mb_chars + ":" %ul.list-phones %li %em = t('spain').mb_chars.capitalize + ":" %b +34 951 204 417 %li %em = t('france').mb_chars.capitalize + ":" %b +33 (0) 975 17 08 36 %li %em = t('switzerland').mb_chars.capitalize + ":" %b +41 44 508 33 58 %b = t('email').mb_chars + ":" %a{:href => "mailto:info@thegrandselection.com"} info@thegrandselection.com .col-lg-12.col-md-12.col-sm-12.col-xs-12 = render 'layouts/partials/index/footer'