{% if ecoles is defined and ecoles is not empty %}
<section class="tc-panel tc-border-neutral">
<div class="tc-panel-header tc-bg-extralight-gray">
<h3>Formation</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<ul class="tc-block-body tc-clean-list">
{% for ecole in ecoles %}
<li>
{% set urlEtudiant = 'anciens-etudiants' %}
{% if ecole.current is defined %}
{% set urlEtudiant = 'etudiants' %}
{% endif %}
<a href="/contacts/{{ ecole.url_clean }}/{{ urlEtudiant }}/?promo={{ ecole.promo }}">{{ ecole.organisation }}, Promotion {{ ecole.promo }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</section>
{% endif %}