{% load embed_video_tags %}
<div class="col3-left-picture">
    <a href="{% url 'exercises:exercise-detail' exercise_slug=etp.exercise.slug exercise_task_position_id=etp.id %}">
        <div class="col3-left-picture__image">
            {% if etp.exercise.yt_video %}
                {% video etp.exercise.yt_video as exercise_video %}
                <img src="{{ exercise_video.thumbnail }}"
                    alt="{{ etp.exercise.title }}">
                {% endvideo %}
            {% endif %}
            {% if etp.done %}
                <div class="col3-left-picture__image__icon"></div>
            {% endif %}
        </div>
        <div class="col3-left-picture__text">
            <div class="col3-left-picture__text__description">
                {{ etp.exercise.title }}
            </div>
        </div>
    </a>
</div>
