<ul class='nav nav-tabs'>
    <li{% if tab == 'details' %} class='active'{% endif %}>
        <a href="{% url 'build-detail' build.id %}">Details</a>
    </li>
    <li{% if tab == 'allocate' %} class='active'{% endif %}>
        <a href="{% url 'build-allocate' build.id %}">Allocate</a>
    </li>
</ul>

<br>
<ul class='nav nav-tabs'>
    <li{% if tab == 'details' %} class='active'{% endif %}>
        <a href="{% url 'build-detail' build.id %}">Details</a>
    </li>
    <li{% if tab == 'allocate' %} class='active'{% endif %}>
        <a href="{% url 'build-allocate' build.id %}">Parts</a>
    </li>
</ul>

<br>
Rename parts tab in build view
Rename parts tab in build view
