{foreach $_CUSTOMERCONTACTTYPES as $type => $properties}
{$properties.ui.legend.text} »»»
{$properties.ui.legend.text} «««
{foreach $customerinfo[$type|cat:'s'] as $key => $item}
{if !$item@first}
{/if}
{if isset($properties.ui.typeselectors)}
{foreach $properties.ui.typeselectors as $typeselector}
{$_CONTACTTYPES[$typeselector]}
{/foreach}
{/if}
{foreach $properties.ui.flags as $flagtype => $flagproperties} {if $flagproperties@index && !($flagproperties@index % 3)}
{/if}
{$flagproperties.label}
{/foreach}
{/foreach}
{trans("Add contact field")} »»»
{/foreach}