{foreach from=$groups item="group"}
{$group}
{/foreach} {foreach from=$buttons item="item"}
{$item.label}
{/foreach}