<h2>Search Results:</h2>
<ul>
{% for desc, id, name, _ in searchresult %}
    <li onclick="suggestform('{{ id }}', '{{ desc }}', event)">
        {% if desc == 'song' %}
            <span class="search-icon suggest-icon">
                <img src="{{ url_for('static', filename='songicon.png') }}" alt="Song Icon"/>
            </span>
            <span class="search-type">Song:</span>
        {% elif desc == 'motif' %}
                <span class="search-icon">
                    <img src="{{ url_for('static', filename='motificon.png') }}" alt="Motif Icon"/>
                </span>
            <span class="search-type">Motif:</span>
        {% endif %}
        {{ name }}
    </li>
{% endfor %}
</ul>