<ul class='nav nav-pills nav-stacked'>
    <li{% ifequal tab 'user' %} class='active'{% endifequal %}>
        <a href="{% url 'settings-user' %}"><span class='glyphicon glyphicon-user'></span> User</a>
    </li>
    <li{% ifequal tab 'currency' %} class='active'{% endifequal %}>
        <a href="{% url 'settings-currency' %}"><span class='glyphicon glyphicon-usd'></span> Currency</a>
    </li>
    <li{% ifequal tab 'part' %} class='active'{% endifequal %}>
        <a href="{% url 'settings-part' %}"><span class='glyphicon glyphicon-briefcase'></span> Part</a>
    </li>
</ul>