{% extends "base.html" %}

{% block title %}{{ name }}{% endblock %}

{% block sheet %}<link rel="stylesheet" href="{{ url_for('static', filename='motifbuttonpressed.css') }}" />{% endblock %}

{% block content %}
<hgroup class="title-box eng-title">
    <img src="{{ url_for('static', filename='motificon.png') }}" alt="Motif Icon" class="title-icon"/><h1> {{ name }} </h1>
</hgroup>
<!-- Clips -->

<div class="entrypage-connections">
    <ul>
    {% for song_id, motif_id, song, feature in clip_info if feature %}
            {% include "motifpageclipget.html" %}
    {% endfor %}
    </ul>
    <h2>Featured In:</h2>
    <ul>
    {% for song_id, motif_id, song, feature in clip_info if not feature %}
            {% include "motifpageclipget.html" %}
    {% endfor %}
    </ul>
</div>
{% endblock %}