<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Admin/AdminMain.Master" Inherits="System.Web.Mvc.ViewPage<MvcEnterprise.Models.DataSet1+MemGroupRow>" %>

<asp:Content ID="Content0" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    <script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin.js" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Content/fckeditor/fckeditor.js")%>" type="text/javascript"></script>
    <%Html.EnableClientValidation(); %>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    编辑内容
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <%= Html.ActionLink("返回列表","MemGroupList") %></div>
    <hr />
    <% using (Html.BeginForm()) {%>
    <div>
        <%----%>
        <%= Html.HiddenFor(model=>model.ID) %>
    </div>
    <div>
        <%--分组名称--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.GroupName) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.GroupName) %> <%= Html.DisplayToolTipFor(model => model.GroupName) %>
            <%= Html.ValidationMessageFor(model => model.GroupName) %></span>
    </div>
    <div>
        <%--权限级别--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.GroupLevel) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.GroupLevel, new { value = 0}) %>
            <%= Html.DisplayToolTipFor(model => model.GroupLevel) %> <%= Html.ValidationMessageFor(model => model.GroupLevel) %></span>
    </div>
    <div>
        <%--权限说明--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.Explain) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.Explain) %> <%= Html.DisplayToolTipFor(model => model.Explain) %>
            <%= Html.ValidationMessageFor(model => model.Explain) %></span>
    </div>
    <p><input type="submit" value="保 存" /> </p>
    <% } %>
</asp:Content>

