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

{block name=input append}

	{if $element.style.buttons and !$element.disabled}
		<div>
			{if CurrentUserAccess::getInstance()->hasAccessToOption('Modules/Admin/Banks-insert')}
				<a href="#;" class="link" onclick="bankInsert();">{$_LANG.formField.inputs.generalAutocomplete.buttons.addBank}</a>
			{/if}
			{if CurrentUserAccess::getInstance()->hasAccessToOption('Modules/Admin/Banks-insert') && CurrentUserAccess::getInstance()->hasAccessToOption('Modules/Admin/BankOffices-insert')}
				/
			{/if}
			{if CurrentUserAccess::getInstance()->hasAccessToOption('Modules/Admin/BankOffices-insert')}
				<a href="#;" class="link" onclick="bankOfficeInsert();">{$_LANG.formField.inputs.generalAutocomplete.buttons.addBankOffice}</a>
			{/if}
		</div>
	{/if}

{/block}
