<!-- includes/items/input_form.inc -->
{if $q.module=='items' and ($q.status=='START' or $q.status=='EDIT')}{assign var="edit_mode" value='yes'}{/if}
{if !$items_form}{assign var="items_form" value=$input_form}{/if}
<form {$items_form.attributes}>
	{$items_form.hidden}
	{if $items_form.information }
	<div id="form-information">
		{$items_form.information}
	</div>
	{/if}
	<table cellspacing="0" cellpadding="0" valign="top" id="cms-input-form">
		<tr>
			<th>{$items_form.name.label}</th>
			<td>{$items_form.name.html}{if $items_form.name.error}<br>{$items_form.name.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.asin.label}</th>
			<td>{$items_form.asin.html}{if $items_form.asin.error}<br>{$items_form.asin.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.manufacture.label}</th>
			<td>{$items_form.manufacture.html}{if $items_form.manufacture.error}<br>{$items_form.manufacture.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.creater.label}</th>
			<td>{$items_form.creater.html}{if $items_form.creater.error}<br>{$items_form.creater.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.list_price.label}</th>
			<td>{$items_form.list_price.html}±ß{if $items_form.list_price.error}<br>{$items_form.list_price.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.detail_url.label}</th>
			<td>{if $edit_mode}{$items_form.detail_url.html}{else}{$items_form.detail_url.value|truncate:"60"}{/if}{if $items_form.detail_url.error}<br>{$items_form.detail_url.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.small_image.label}</th>
			<td>{$items_form.small_image.value}{if $edit_mode}{$items_form.small_image.html}{/if}{if $items_form.small_image.error}<br>{$items_form.small_image.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.medium_image.label}</th>
			<td>{$items_form.medium_image.value}{if $edit_mode}{$items_form.medium_image.html}{/if}{if $items_form.medium_image.error}<br>{$items_form.medium_image.error}{/if}</td>
		</tr>
		<tr>
			<th>{$items_form.search_option.label}</th>
			<td>{$items_form.search_option.html}{if $items_form.search_option.error}<br>{$items_form.search_option.error}{/if}</td>
		</tr>
{if $edit_mode}
		<tr>
			<td colspan="2">{$items_form.submit.html}</td>
		</tr>
{/if}
	</table>
</form>
<!-- end of includes/items/input_form.inc -->