{% comment %} YouTube thumbnail picker modal content - loaded via HTMX. Context: assets (image-only), workspace. Clicking an asset dispatches a 'thumbnail-selected' event with the asset id and URL. The composer's Alpine root listens and writes the value to the per-account thumbnails map. {% endcomment %} {% if assets %}
{% for asset in assets %}
{% if asset.thumbnail %} {{ asset.filename }} {% elif asset.file %} {{ asset.filename }} {% else %}
{% endif %}
{{ asset.filename }}
{% endfor %}
{% else %}

No images available

Upload images to your media library to use them as thumbnails

{% endif %}