{%- macro bs_navs(navs) -%}
<ul class="nav nav-tabs">
    {% for nav in navs -%}
    <li {{ flatatt(nav.atts) }}><a href="{{ nav.url }}">{{ nav.text }}</a></li>
    {% endfor -%}
</ul>
{% endmacro -%}
{% if _render_ -%}
    {{ bs_navs(navs) }}
{% endif -%}

