{% load table3 %}
{% for category,label in table.features.category.options %}
 <li {% if category == table.features.category.selected %}class="active"{% endif %}>
    <a role="button" href="?{% url_replace 'category' category %}">{{ label }}</a>
  </li>
{% endfor %}