{if count($types)}
{foreach $types as $value}
{$value.title}
{/foreach}
{/if} {if count($attributes)}
{foreach $attributes as $value}
{$value.title}
{/foreach}
{/if}