{% extends '/base.html.twig' %}
{% block seotitle %}{{ parent() }}{% endblock %}
{% block seodesc %}{{ parent() }}{% endblock %}
{% block microformat %}{{ parent() }}{% endblock %}
{% if id is not defined %} {% set id = null %}{% endif %}
{% if datearrivee is not defined %} {% set datearrivee = null %}{% endif %}
{% if duree is not defined %} {% set duree = null %}{% endif %}
{% if nbadultes is not defined %} {% set nbadultes = null %}{% endif %}
{% if nbenfants is not defined %} {% set nbenfants = null %}{% endif %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block body %}
<div>
{% block top %}
<nav id="menuPrincipal" class="navbar navbar-fixed-top navbar-fixed-top2{% if searchBloc is defined and searchBloc %} searchBloc{% endif %}">
<div id="topnav">
<div class="container text-right">
{{ render(controller('App\\Controller\\PageController::menu', {'code': 'nav_top'})) }}
</div>
</div>
{% block menu %}
{% set route_name = app.request.attributes.get('_route') %}
{% set route_params = app.request.attributes.get('_route_params') %}
{% set params = null %}
{% if route_params is not null and app.request.query.all is iterable %}
{% set params = route_params|merge(app.request.query.all) %}
{% endif %}
{{ render(controller('App\\Controller\\DefaultController::menu', {}, {'route_name': route_name, 'params': params})) }}
{% endblock %}
{% block titre_produit %}{% endblock %}
{% if searchBloc is defined and searchBloc %}
{% block recherche %}
{% include "/front/Default/recherche.html.twig" with {'id': id, 'datearrivee': datearrivee, 'duree': duree, 'nbadultes': nbadultes, 'nbenfants': nbenfants } %}
{% endblock %}
{% endif %}
</nav>
{% endblock %}
<div {% if page_code is defined and page_code == "home" %}{% else %}id="page"{% endif %}>
{% for flashbag in app.session.flashbag.all() %}
{% for msg in flashbag %}
{% if msg.type is defined %}
<div class="alert alert-{{ msg.type }}">
<strong>{{ msg.title }}</strong>
<br/>{{ msg.message |raw }}
</div>
{% endif %}
{% endfor %}
{% endfor %}
{% block contenu %}
{% endblock %}
</div>
{% block footer %}
{{ render(controller('App\\Controller\\DefaultController::footer')) }}
{% endblock %}
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type="text/javascript" src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script type="text/javascript" src="{{ path('fos_js_routing_js', {"callback": "fos.Router.setData"}) }}"></script>
{% set resas = app.session.get("resas") %}
{% set travellers = app.session.get("travellers") %}
{% endblock %}