#search_menu_jquery_start %nav.navbar.navbar-default.navbar-doublerow.navbar-trans.navbar-fixed-top.nav-font %nav.navbar.navbar-down .container .flex-container.center.nav-h-ead %ul.nav.navbar-nav.flex-item.hidden-xs.nav-cent %li -if I18n.locale.to_s == 'en' %a{href: root_path, :title => t('the_grand_selection')} %span.fas.fa-home -if I18n.locale.to_s == 'es' %a{href: root_es_path, :title => t('the_grand_selection')} %span.fas.fa-home -if I18n.locale.to_s == 'ru' %a{href: root_ru_path, :title => t('the_grand_selection')} %span.fas.fa-home -if I18n.locale.to_s == 'fr' %a{href: root_fr_path, :title => t('the_grand_selection')} %span.fas.fa-home %li %a.dropdown-toggle{"data-toggle" => "dropdown", :type => "button",:href => '', :title => t('information')} = t('information') %span.caret %ul.dropdown-menu{:role => "menu"} %li %a{:href => w_tourism_marbella_index_path, :title => t('tourism_in_marbella')} = t('tourism_in_marbella') %li %a{:href => w_tourism_puerto_banus_path, :title => t('tourism_in_puerto_banus')} = t('tourism_in_puerto_banus') %li %a{:href => w_contact_index_path, :title => t('contacts')} = t('contacts') %li %a{:href => w_hotels_path, :title => t('hotels')} = t('hotels') %li %a{:href => w_accommodations_path, :title => t('rentals')} = t('rentals') %li %a.dropdown-toggle{"data-toggle" => "dropdown", :type => "button",:href => '', :title => t('things_to_do')} = t('things_to_do') %span.caret %ul.dropdown-menu{:role => "menu"} %li %a{:href => w_restaurants_path, :title => t('restaurants')} = t('restaurants') %li %a{:href => w_activities_path, :title => t('activities')} = t('activities') %li %a{:href => w_services_path, :title => t('services')} = t('services') %li %a{:href => w_events_path, :title => t('events')} = t('events') %li -if @our_best_offer_counted && @our_best_offer_counted.count > 0 %a{:href => w_our_best_offer_index_path, :style => "best-offer-decoration", :title => t('our_best_offer')} = t('our_best_offer') %ul.nav.navbar-nav.flex-item.hidden-xs.pull-right %li #adv-search.input-group .dropdown.dropdown-lg %a.drop-searcher.dropdown-toggle{"aria-controls" => "searcher-head", "aria-expanded" => "false", "aria-label" => "Toggle navigation", "data-target" => "#searcher-head", "data-toggle" => "collapse", :type => "button"} .searcher-icon %span.fas.fa-search{"aria-hidden" => "true"} %span.caret / dropdown only moblie .dropdown.visible-xs.pull-left.padding-nav-mob %button#dropdownmenu-mob.btn.btn-default.btn-mob.dropdown-toggle{'data-target' => '#dropdown-mob', 'data-toggle' => 'collapse', type: 'button'} %span.fas.fa-align-justify{"aria-hidden" => "true"} .dropdown.visible-xs.pull-right.padding-nav-mob %button#dropdownmenu-searcher.btn.btn-default.btn-mob.dropdown-toggle{"aria-controls" => "searcher-head", "aria-expanded" => "false", "aria-label" => "Toggle navigation", "data-target" => "#searcher-head", "data-toggle" => "collapse", :type => "button"} %span.fas.fa-search{"aria-hidden" => "true"} .container .visible-xs #dropdown-mob.collapse %ul.nav.navbar-nav.condensed.nav-font %li.dropdown -if I18n.locale.to_s == 'en' %a{href: root_path, :title => t('the_grand_selection')} %span.fas.fa-home -if I18n.locale.to_s == 'es' %a{href: root_es_path, :title => t('the_grand_selection')} %span.fas.fa-home -if I18n.locale.to_s == 'ru' %a{href: root_ru_path, :title => t('the_grand_selection')} %span.fas.fa-home -if I18n.locale.to_s == 'fr' %a{href: root_fr_path, :title => t('the_grand_selection')} %span.fas.fa-home %li.dropdown %a.dropdown-toggle{'data-toggle' => 'dropdown', :type => 'button', class: 'menusublime',:href => '', :title => t('information')} = t('information') %span.caret %ul.dropdown-menu{:role => "menu"} %li %a{:href => w_tourism_marbella_index_path, :title => t('tourism_in_marbella')} = t('tourism_in_marbella') %li %a{:href => w_tourism_puerto_banus_path, :title => t('tourism_in_puerto_banus')} = t('tourism_in_puerto_banus') %li %a{:href => w_contact_index_path, :title => t('contacts')} = t('contacts') %li %a{:href => w_hotels_path, :title => t('hotels')} = t('hotels') %li %a{:href => w_accommodations_path, :title => t('rentals')} = t('rentals') %li.dropdown %a.dropdown-toggle{'data-toggle' => 'dropdown', href: '', class: 'menusublime', :title => t('things_to_do')} %span = t('things_to_do') %span.caret %ul.dropdown-menu{role: 'menu'} %li %a{:href => w_restaurants_path, :title => t('restaurants')} = t('restaurants') %li %a{:href => w_activities_path, :title => t('activities')} = t('activities') %li %a{:href => w_services_path, :title => t('services')} = t('services') %li %a{:href => w_events_path, :title => t('events')} = t('events') -if @our_best_offer_counted && @our_best_offer_counted.count > 0 %li.dropdown %a{:href => w_our_best_offer_index_path, :title => t('our_best_offer')} = t('our_best_offer') #searcher-head.collapse .col-lg-12 .ex-search.back-search.font-search = form_tag all_search_index_path, :method => 'get', :id => "form-search", :class => '' do .row .col-lg-3.col-md-3.search-im.search-im-txt = t('search_im') + ': ' .col-lg-8.col-md-8.col-sm-12.col-xs-12.ex-search-header .input-group -if I18n.locale.to_s == 'en' %input.form-control{:id =>"search_all_title", :name => "title", :value => params[:title], :class => 'form-control padding-form form-control-header', :placeholder => t('search_im'), data: {autocomplete_source: all_search_title_en_index_path}} -if I18n.locale.to_s == 'es' %input.form-control{:id =>"search_all_title", :name => "title", :value => params[:title], :class => 'form-control padding-form', :placeholder => t('search_im'), data: {autocomplete_source: all_search_title_es_path}} -if I18n.locale.to_s == 'ru' %input.form-control{:id =>"search_all_title", :name => "title", :value => params[:title], :class => 'form-control padding-form', :placeholder => t('search_im'), data: {autocomplete_source: all_search_title_ru_index_path}} -if I18n.locale.to_s == 'fr' %input.form-control{:id =>"search_all_title", :name => "title", :value => params[:title], :class => 'form-control padding-form', :placeholder => t('search_im'), data: {autocomplete_source: all_search_title_fr_index_path}} .input-group-btn %button.btn.btn-default{:type => "submit", :class => 'padding-form'} %i.fas.fa-search .container-fluid.logo-bg .container .row -if I18n.locale.to_s == 'en' - @root_path = root_path -if I18n.locale.to_s == 'es' - @root_path = root_es_path -if I18n.locale.to_s == 'ru' - @root_path = root_ru_path -if I18n.locale.to_s == 'fr' - @root_path = root_fr_path %a.logo-lines-1-2-3{:href => @root_path, :title => t('the_grand_selection')} .col-lg-3.col-md-3.col-sm-3.col-xs-3.margins-off %img.logo-img{:alt => "The Grand Selection", :src => "/assets/web/the-grand-selection-logo.png"} .col-lg-6.col-md-6.col-sm-6.col-xs-6.margins-off .h1-logo .logo-line-1 -if I18n.locale.to_s == 'en' = "Concierge and Reservations".upcase -if I18n.locale.to_s == 'es' = "Conserjería y Reservas".upcase -if I18n.locale.to_s == 'ru' = "Консьерж и бронирование".upcase -if I18n.locale.to_s == 'fr' = "Conciergerie et réservations".upcase .logo-line-2 = "The Grand Selection".upcase .logo-line-3 .col-lg-3.col-md-3.col-sm-3.col-xs-3.margins-off %img.logo-img{:alt => "The Grand Selection", :src => "/assets/web/the-grand-selection-logo.png"} .row -if I18n.locale.to_s == 'en' .header-text-1 = "Luxury touristic services in Switzerland, France and Spain" -if I18n.locale.to_s == 'es' .header-text-1 = "Servicios turísticos de lujo en Suiza, Francia y España" -if I18n.locale.to_s == 'ru' .header-text-1 = "Роскошные туристические услуги в Швейцарии, Франции и Испании" -if I18n.locale.to_s == 'fr' .header-text-1 = "Services touristiques de luxe en Suisse, en France et en Espagne"