{% if datearrivee is not defined or datearrivee is null %}
{% set datearrivee = "" %}
{% endif %}
{% if duree is not defined or duree is null%}
{% set duree = "" %}
{% endif %}
{% if nbadultes is not defined or nbadultes is null %}
{% set nbadultes = "" %}
{% endif %}
{% if nbenfants is not defined or nbenfants is null %}
{% set nbenfants = "" %}
{% endif %}
{% if id is not defined %}
{% set id = 0 %}
{% endif %}
<!-- *********************** Barre de recheche *********************** -->
<div id="searchBar" class="gris-noir" style="display:none">
<nav class="container">
<form action="{{ path('ac_platform_recherche') }}" method="get" autocomplete="off" style="display:none">
<!-- Version desktop & tablette -->
<div class="container recherche clear">
<div class="flex-item-double">
{{ render(controller('App\\Controller\\RechercheController::destinations', {'type': 'select', 'id': id})) }}
</div>
<div class="flex-item">
<div class="btn-group recherche-normal">
<div class='input-group date' id='datetimepicker2'></div>
<input class="btn-arrivee datepicker" name="datearrivee" type="text" placeholder="{{ 'menu.recherche.arrivee' |trans({},'app') |raw }}" autocomplete="off" value="{{ datearrivee }}" />
</div>
</div>
<div class="flex-item">
{{ render(controller('App\\Controller\\RechercheController::duree', {'duree': duree})) }}
</div>
<div class="flex-item">
{{ render(controller('App\\Controller\\RechercheController::adultes', {'nbadultes': nbadultes})) }}
</div>
<div class="flex-item">
{{ render(controller('App\\Controller\\RechercheController::enfants', {'nbenfants': nbenfants})) }}
</div>
<div class="flex-item-double">
<div class="btn-group recherche_btn " role="group">
<button type="submit" class="btn btn-default btn-lg btrecherche">{{ 'menu.recherche.submit' |trans({},'app') |raw }}</button>
</div>
</div>
</div>
</form>
</nav>
</div>