{% load kfet_tags %}

<ul>
    {% if accounts %}
        {% for trigramme, user in accounts %}
        <li class='choice'>{{ user|highlight_text:q }} (<span class="trigramme">{{ trigramme }}</span>)</li>
        {% endfor %}
    {% elif not q %}
        <li class="user_category"><span class="text">Pas de recherche, pas de résultats !</span></li>
    {% else %}
        <li class="user_category"><span class="text">Aucune correspondance trouvée :-(</span></li>
    {% endif %}
</ul>

