<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Domain.SysHotelGroup>" %>

<form class="easyui-form form" method="post" data-options="novalidate:true">
	<input type="hidden" name="ID" value="<%=Model.ID %>" />
	<input type="hidden" name="ParentID" value="<%=(Model.Parent != null) ? Model.Parent.ID : 0 %>" />
	<table style="margin: 20px auto;" cellpadding="3">
		<tr>
			<td class="align-right"><%: Html.Language("Name")%>：</td>
			<td><input id="txtGroupName" name="Name" class="easyui-validatebox textbox text" data-options="required:true,validType:'blwtext'" value="<%=Model.Name %>" /></td>
		</tr>
		<tr>
			<td class="align-right"><%: Html.Language("Sort")%>：</td>
			<td><input id="txtGroupSort" name="Sort" class="easyui-numberspinner text" style="width:60px;" data-options="required:true,min:1" value="<%=Model.Sort %>" /></td>
		</tr>
	</table>
</form>