{include file="page_header.htm"}
{insert_scripts files="../js/utils.js"}
<form enctype="multipart/form-data" name="theForm" action="customer_group.php" method="post" onsubmit="return validate()">
<table width="100%"  border="0" cellspacing="0" cellpadding="0" class="table_form1" >	
	<tr>
	<td class="label">分组名称：</td>
	<td>
	<input type="text" name="name" value="{$customer_group.name|escape:html}" class="FormSmall" style="width:180px;" /> <span class="required">&nbsp;</span>
	</td>
	</tr>
	
	<tr>
	<td class="label">成交价格：</td>
	<td>
	<input type="text" name="discount" value="{$customer_group.discount}" class="FormSmall" style="width:180px;"  /> %
	</td>
	</tr>
	<tr>
	<td style="border:none;"></td>
	<td style="border:none;">
		<input type="hidden" name="act" value="{$form_act}" />
		<input type="hidden" name="id" value="{$customer_group.customer_group_id}" />
	<input type="submit" value="提交" class="bginput" />
	<input type="reset" value="重置" class="bginput" />
	</td>
	</tr> 
</table>
</form>
<script language="JavaScript">
{literal}
function validate(){
    validator = new Validator("theForm");
    validator.required("name",   "请输入分组名称");
    return validator.passed();
}
{/literal}
</script>
{insert_scripts files="validator.js"}
{include file="page_footer.htm"}