{% set currentPath = app.request.attributes.get('_route') %}
<section class="page_breadcrumb">
<div class="container">
<div class="row">
<div class="col-sm-7">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ path('app_home') }}">Accueil</a></li>
{% if currentPath is same as "app_main_query" %}
<li class="breadcrumb-item active" aria-current="page">{{ search|title }}</li>
{% endif %}
{% if app.user and currentPath is same as "app_user_show" %}
<li class="breadcrumb-item active" aria-current="page">{{ app.user.email }}</li>
{% endif %}
{% if currentPath is same as "app_details_query" %}
<li class="breadcrumb-item active" aria-current="page">
{{ data.fields.denominationunitelegale is defined ? data.fields.denominationunitelegale :
(data.fields.nomunitelegale is defined ? data.fields.nomunitelegale :
(data.fields.l1_adressage_unitelegale is defined ? data.fields.l1_adressage_unitelegale :
"Donnée indisponible")) }}
</li>
{% endif %}
</ol>
</nav>
</div>
</div>
</div>
</section>