{% if experts|default %}
<div class="card col-12 col-lg-12 col-xl-6 no_shadow no_border" style="background-color:#003366">
<div class="row">
<div class="col-12 col-sm-7 mt-3 mb-2">
<i class="fa-light fa-magnifying-glass fa-2x blanc"></i>
<span class="soustitre_medium fs13 blanc gris_333">
<a href="{{ path('annuaires_experts_index',{'codePays':codePays }) }}" class="blanc">
{{ translate('annuaire $$d expert$${p|des experts}' ,lang,"","M","p") | raw }}
</a>
</span>
</div>
{{ form_start(form, {'attr': {'class': 'col-12 col-sm-5 input-group my-3'}}) }}
{{ form_widget(form.searchWord, { 'attr': {'class': 'form-control','placeholder':'Rechercher'} }) }}
<div class="input-group-append">
<button class="btn btn-secondary" type="submit">
{{ translate("ok",lang,"","M") | raw }}
</button>
</div>
{{ form_end(form, {'render_rest': false}) }}
<div class="col-12 pt-2 bleu_fusacq">
<table class="table_sans_lignes table table-sm font_90">
<tbody>
{% for expert in experts %}
<tr class="">
{% if codePays == "_fr_" and expert.date_mise_en_ligne |default %}
<td><span class="blanc">{{ expert.date_mise_en_ligne|date("d/m") }}</span></td>
{% endif %}
{% set lien = path('annuaires_experts_activite_expert',{'titreslug':expert.titre_service| slugify,'codePays':codePays,'idServicePrestataire':expert.id_service_prestataire }) %}
<td><a href="{{ lien}}" class="blanc only1linesIndexPage">{{ expert.titre_service| truncateLongText(40,"..")| raw }}</a></td>
{% if expert.nom_localisation |default %}
<td class=""><span class="blanc only1linesIndexPage">{{ expert.nom_localisation| abv_nom_localisation|raw }}</span></td>
{% else %}
<td class=""><span class="blanc only1linesIndexPage">{{ expert.id_localisation_prestataire | nom_localisation }}</span></td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="col-12 card-footer text-center" style="border-top: 1px solid #2c5a87;">
<a href="{{ path('annuaires_experts_index',{'codePays':codePays }) }}" class="font_90 blanc">{{ translate("trouver un expert" ,lang,"","M","p") | raw }}</a>
<span style="color: #2c5a87;">|</span>
{% set lien = path('annuaires_experts_espace_admin_index',{'codePays':codePays }) %}
<a href="{{ lien}}" class="font_90 blanc">{{ translate("se referencer" ,lang,"","M","p") | raw }}</a>
</div>
</div>
</div>
{% endif %}