{? $acb = $f->control->element}
{? $refId = empty($refId) ? $presenter->getParameter('id') : $refId}
{? $refBo = empty($refBo) ? $presenter->getParameter('bo') : $refBo}
{? $ref = str_replace(['{ID}', '{action}'],[$refId, $presenter->action], $basePath.'/'.$acb->ref)}
{? $_refBoParts = explode('\\', get_class($data))}
{? $refBo = end($_refBoParts)}
{? $acbId = trim($acb->id, '}{')}
{? $refId = $data->$acbId}
{? $goto = $presenter->link($acb->action, [
'bo' => $acb->bo,
'prefillsource' => $refId,
'prefillsourceobject' => $refBo,
'ref' => $ref])}
{if $acb->autosave && empty($forceLink)}
{else}
{$f->caption}
{/if}