{extends file=$smarty.const.SMARTY_LAYOUT_MAIN_POPUP_FORM}

{block name="buttons"}
	<div class="buttons {if $idImportedDocument}layout-S-L{else}layout-L{/if}">
		{if $form}
			{if $idImportedDocument}
				<button class="button-back" type="button"
					onclick="window.location = MVC.appUrl('Documents/ImportedDocuments/ProcessDocument', 'index', { 'id': '{$idImportedDocument}'});">{$_LANG['back']}</button>
			{/if}

			{$form->renderButton('insert')}
		{/if}
	</div>
{/block}
