{$form_open}

{foreach from=$form_data.header item=h}
	<div class="epesi_label header" style="width:700px;">
		{$h}
	</div>
{/foreach}
<table style="border-spacing: 3px; width:500px;">
	{foreach from=$form_data item=f}
		{if is_array($f) && isset($f.type) && isset($f.html) && isset($f.label) && $f.type!='hidden' && $f.type!='button' && $f.type!='submit'}
		<tr>
			<td class="epesi_label" style="width: 150px;white-space: nowrap;">
				{$f.label}{if $f.required}*{/if}
			</td>
			<td class="epesi_data{if $f.frozen} static_field{/if}" style="width: 350px;">
				<div style="position: relative;">
					{$f.error}
					{$f.html}
				</div>
			</td>
		</tr>
		{/if}
	{/foreach}
	<tr>
		<td colspan="2">
			<center class="child_button">
			{foreach from=$form_data item=f}
				{if is_array($f) && isset($f.type) && ($f.type=='button' || $f.type=='submit')}
					{$f.html}
				{/if}
			{/foreach}
			</center>
		</td>
	</tr>
</table>


{$form_close}