<div class="handle" id="section_name">{$lang.forms.section}:&nbsp;{$section.name}</div>
<div style="position: relative;{if $total_count==0}height:25px;{/if}" id="section_div" class="section">
	{foreach name=s item=item key=key from=$attrs}
		<div style="position: relative;" id="{if $item.is_const=='Y'}const{else}item{/if}_{$item.id}" class="lineitem">
			{if $item.is_const=='Y'}<span class="main_error_text">{/if}
				<b>{$item.field_name}:</b>&nbsp;
			{if $item.control_type=='select' && ($item.setup.select_type=='boxes' || $item.setup.select_type=='radio')}<br>{/if}
			{if $item.is_const=='Y'}</span>{/if}
			{if $item.control_type=='place'}
				{$lang.forms.place_text}
			{elseif $item.control_type=='file'}
				{$item.html.code}
				{if isset($item.html.href)}
					<br><a href="{$item.html.href}">{$lang.common.view_file}</a>
					&nbsp;<input type="checkbox" name="delfile_{$item.id}" value="1">&nbsp;{$lang.common.del_file}
				{/if}
			{else}
				{$item.html}
			{/if}
		</div>
	{/foreach}
</div>