{% load horizon i18n %}
<div class='clearfix'>
  <ul class="nav nav-tabs">
    {% 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 %}
  </ul>
</div>
