{#
Required vars: currentMedia, currentMediaUrl, mediaType
#}
{% set svgLinkIcon %}
  {% include '@AutoAdminMedia/Form/icon/link_icon.svg' %}
{% endset %}
{% set svgMissingMediaIcon %}
  {% include '@AutoAdminMedia/Form/icon/missing_media.svg' %}
{% endset %}
<div class="preview missing-media">
  <div class="preview-wrap">
    {% if unlinked|default() is not empty %}
      <div class="unlinked-info">
        <i class="fa-regular fa-circle-xmark" title="Lien cassé"></i>
      </div>
    {% endif %}
    <div class="no-media-icon">
      {{ svgMissingMediaIcon }}
    </div>
  </div>
</div>