{% load i18n %}

<ul class='nav nav-tabs'>
    <li{% if tab == 'pricing' %} class='active'{% endif %}>
        <a href="{% url 'supplier-part-pricing' part.id %}">{% trans "Pricing" %}</a>
    </li>
    <li{% if tab == 'stock' %} class='active'{% endif %}>
        <a href="{% url 'supplier-part-stock' part.id %}">{% trans "Stock" %}</a>
    </li>
    <li {% if tab == 'orders' %} class='active'{% endif %}>
        <a href="{% url 'supplier-part-orders' part.id %}">{% trans "Orders" %}</a>
    </li>
</ul>