{foreach from=$soft_credit_groupTree.$blockId item=cd_edit key=group_id name=custom_sets}
{if $cd_edit.is_multiple and $multiRecordDisplay eq 'single'}
{assign var="isSingleRecordEdit" value=TRUE}
{else}
{* always assign to prevent leakage*}
{assign var="isSingleRecordEdit" value=''}
{/if}
{if $isSingleRecordEdit}
{include file="CRM/Custom/Form/Edit/CustomData.tpl" customDataEntity='soft_credit'}
{else}
{if !$skipTitle}
{/if}
{/foreach}
{$cd_edit.title}
{/if}
{include file="CRM/Custom/Form/Edit/CustomData.tpl" customDataEntity='soft_credit'}
|