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

<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">
    <% using (Html.BeginForm())
       {%>
    <div>
        <%--管理员帐号--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.AdminName) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.AdminName, new { @readonly = "readonly" })%><%= Html.DisplayToolTipFor(model => model.AdminName)%><%= Html.ValidationMessageFor(model => model.AdminName)%></span>
    </div>
    <div>
        <span class="editor-label">输入新密码：</span>
        <span class="editor-field"><input type="text" name="Password" /><%= Html.ValidationMessageFor(model => model.Password) %></span>
    </div>
    <div>
        <span class="editor-label">再次输入：</span>
        <span class="editor-field"><input type="text" name="Password2" /></span>
    </div>
    <p><input type="submit" value="保 存" /> </p>
    <% } %>
</asp:Content>

