{extends file=$element.methods->getTemplatePath('autocomplete')}

{block name=elementOperationsButtons append}

	{if $element.style.buttons and CurrentUserAccess::getInstance()->hasAccessToOption('Modules/Partners/ContactPersons-insert') and !$element.disabled and !$element.style.simple}
		<a href="#;" onclick="corporateContactPersonInsert(0);" class="link">{$_LANG.formField.inputs.generalAutocomplete.buttons.addCorporateContactPerson}</a>
	{/if}

{/block}