{% load horizon %}
{% for component in components %}
    {% if user|can_haz:component %}
        <li{% if current == component.slug %} class="active"{% endif %}>
            <a href="{{ component.get_absolute_url }}" tabindex='1'>{{ component.name }}</a>
        </li>
    {% endif %}
{% endfor %}

