src/Aviatur/TwigBundle/Resources/views/aviatur/Flux/Blog/Components/search_engine_flights.html.twig line 1

Open in your IDE?
  1. {# empty Twig template#}
  2. <form action ="#" class="search__engine clearfix search-flight js-searchForm js-searchFormFlight" style="padding:10px;" >
  3.     {% if cookieLastSearch is defined and cookieLastSearch != null and cookieLastSearch['origin1'] is defined%}
  4.         <div style="display:none">
  5.             <p id="js-cookieLastSearch-origin">{{ cookieLastSearch['origin1'] }}</p>
  6.             <p id="js-cookieLastSearch-destination">{{ cookieLastSearch['destination1'] }}</p>
  7.             <p id="js-cookieLastSearch-originLabel">{{ cookieLastSearch['originLabel1'] }}</p>
  8.             <p id="js-cookieLastSearch-destinationLabel">{{ cookieLastSearch['destinationLabel1'] }}</p>
  9.             <p id="js-cookieLastSearch-date1">{{ cookieLastSearch['date1'] }}</p>
  10.             <p id="js-cookieLastSearch-date2">{% if cookieLastSearch['date2'] is defined %}{{ cookieLastSearch['date2'] }}{% endif %}</p>
  11.             <p id="js-cookieLastSearch-adults">{{ cookieLastSearch['adults'] }}</p>
  12.             <p id="js-cookieLastSearch-children">{{ cookieLastSearch['children'] }}</p>
  13.             <p id="js-cookieLastSearch-infants">{{ cookieLastSearch['infants'] }}</p>
  14.         </div>
  15.     {% endif %}
  16.     {# START .search-header #}
  17.     <div class="search__header clearfix">
  18.         <div class="search__btn-group_blog btn-group" role="group" aria-label="Select flight type">
  19.             {% if validateExplore is defined and validateExplore == true %}
  20.                 <div class="search__btn-group_blog btn-group" role="group" aria-label="Select flight type" style="margin-bottom: 4px;">
  21.                     <button type="button" id="explore-blog" class="btn btn--inactive tooltips" data-date="1" data-type="explore" title="Explorar">
  22.                         <span class="tooltips-content hidden-all show-availengine">Presupuesto</span>
  23.                         <i class="icon icon_banknote hidden-palm show-availengine"></i>
  24.                         <span class="hide-availengine">
  25.                             Presupuesto
  26.                         </span>
  27.                         <div style="display:none">
  28.                             <input type="checkbox" name="applyBudget" id="applyBudget">
  29.                         </div>
  30.                     </button>
  31.                 </div>
  32.             {% endif %}
  33.             <button type="button" id="vuelta" class="btn-flight-blog tooltips" data-date="1" data-type="roundtrip" title="Ida y Vuelta">
  34.                 <span class="tooltips-content hidden-all show-availengine">Ida y Vuelta</span>
  35.                 <span class="hide-availengine">
  36.                     Ida y Vuelta
  37.                 </span>
  38.             </button>
  39.             <button type="button" id="ida" class="btn-flight-blog btn--inactive tooltips" data-date="1" data-type="oneway" title="Solo Ida">
  40.                 <span class="tooltips-content hidden-all show-availengine">Solo Ida</span>
  41.                 <span class="hide-availengine">
  42.                     Solo Ida
  43.                 </span>
  44.             </button>
  45.             <button type="button" id="multidest" class="btn-flight-blog btn--inactive tooltips" title="Multidestino">
  46.                 <span class="tooltips-content hidden-all show-availengine">Multidestino</span>
  47.                 <span class="hide-availengine">
  48.                     Multidestino
  49.                 </span>
  50.             </button>
  51.         </div>
  52.     </div>
  53.     {# END .search-header #}
  54.     {# START .search-body #}
  55.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Blog/Components/search_flight_body.html.twig') %}
  56.     {# END .search-body #}
  57.     {# START .search-show #}
  58.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Blog/Components/search_flight_show.html.twig') %}
  59.     {# END .search-show #}
  60.     {# START .search-footer #}
  61.     {#{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine_options.html.twig') %}#}
  62.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine_footer.html.twig') %}
  63.     {# END .search-footer #}
  64.     {# SUBMIT #}
  65.     <div class="clearfix">
  66.         <span id="js-responsive-submit-palm"></span>
  67.         <div class="form-group js-responsive-submit">
  68.             <input type="button" value="Buscar" class="search__footer__submit btn btn--full btn--submit {% block package_submit_btn_2 %}js-searchButton{% endblock %}">
  69.         </div>
  70.     </div>
  71.     {# <script src="https://q.bstatic.com/static/affiliate_base/js/search_extension.js" integrity="sha384-Z3mOVEeJEa5ZoPB9OX9Ig752Jp/fF2mlV8QvZfeb8sn1nqr8r9Db1iK2pBIgc63T" crossorigin="anonymous" async defer></script> #}
  72. </form>