<ul class="nav nav-tabs" style="display: flex"> {foreach $tabs as $tab} <li role="presentation"class="{if $tab.active is set}active{/if}"><ahref="{$tab.link}">{$tab.name}</a></li> {/foreach} </ul>