8 lines
261B

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