<%@ Page Title="" Language="C#" MasterPageFile="../BaseMaster.Master" CodeBehind="UserTypeDetail.aspx.cs" Inherits="WAP2P.Web.PC.Admin.Sys.UserTypeDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
<style type="text/css">
    table.m-permission dl{clear:both;}
    table.m-permission dd{float:left; width:20%; white-space:nowrap;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form class="auto" method="post" action="" onsuccess="parent.$.jPopupEdit.close(true);">
        <div class="m-editbar">
            <input type="submit" class="btn-larger c-priority iconfont" value="&#xe684; 保存" />
            <input type="button" class="btn-larger c-normal iconfont" value="&#xe634; 关闭" onclick="parent.$.jPopupEdit.close();" />
        </div>
        <div class="m-content m-editcontent">
            <table class="m-info" cellpadding="0" cellspacing="0" width="100%">               
                <tr>
                    <th width="15%">会员类型名称</th>
                    <td width="35%">
                        <input type="text" name="name" placeholder="请输入会员类型名称" class="w250" value="<% =Model.Name.HtmlEncode() %>" maxlength="50" data-vtype="must" data-vmsg="请输入会员类型名称" />
                    </td>
                    <th width="15%">基础类型</th>
                    <td width="35%">
                        <div class="ui-radio"><ruson:EnumInput runat="server" ID="type" Type="Radio" TypeName="WAP2P.Sys.UserType+BaseType,WAP2P.Sys"></ruson:EnumInput></div>
                    </td>
                </tr>             
                <tr>
                    <th>启用前端注册</th>
                    <td>
                        <div class="ui-checkbox">
                            <% =HtmlHelper.CheckBox("canReg", "允许通过前台注册", Model.CanReg) %>                            
                        </div>
                    </td>
<%--                    <th>启用借款担保</th>
                    <td>
                        <div class="ui-checkbox">
                            <% =HtmlHelper.CheckBox("canVouch", "可以做借贷担保", Model.CanVouch) %>                            
                        </div>
                    </td>--%>
                    <th>排序值</th>
                    <td>
                        <input type="text" name="orderBy" class="w60 ui-int" value="<% =Model.OrderBy %>" data-vtype="must|number" data-vmsg="请输入排序|排序必须为数字" /><em>数值越大越靠前</em>
                    </td>
                </tr>
                <tr>
                    <th>备注</th>
                    <td  colspan="3">
                        <textarea name="remark"><% =Model.Remark.HtmlEncode() %></textarea>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
    <script src="<% =this.ImportJsCss("../res/core/scripts/permission.js") %>"></script>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="list" runat="server">
</asp:Content>
