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


{block name=input}

	<div id="{$element.id}" class="{$element.style.CSSClass} {$element.style.CSSClass}-{$element.style.renderMode}">

		<table style="width:{$element.style.width|default:300}px;">
			<tr>
				
				{* render main field - the CC number *}
				<td class="inputContainer inputContainer-main">
					{$element['elements']['main'][0]->render()}
				</td>
				
				{* render post fields - the company + expire date *}
				<td class="inputContainer inputContainer-post" style="width:1%">
					{$element['elements']['post'][0]->setStyle('width', '70')->render()}
				</td>
				
				<td class="inputContainer inputContainer-post" style="width:1%">
					{$element['elements']['post'][1]->setStyle('width', '70')->render()}
				</td>
				
			</tr>
		</table>
			
	
	</div>

{/block}
