{% if field.value is not null and field.value.path is not null %} <a href="{{ asset(field.value.path) }}" class="" title="{{ field.value.legend }}"> Télécharger </a> {% else %} <div class="badge badge-secondary">Aucun(e)</div> {% endif %}