<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<MVCBlogo.NET.BO.Author>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">

    <h3>添加用户</h3>
<%=Html.ValidationSummary("添加用户信息失败，请修改错误后再提交") %>
<%
    using (Html.BeginForm("AdminAuthorCreate"))
    {
 %>
     <div>
        <fieldset>
        
           <p>
             <label for="username">用户名：</label>
             <%=Html.TextBox("username", null, new { size = 33 })%>
             <%=Html.ValidationMessage("username")%>
           </p>
            <p>
             <label for="password">密码：</label>
             <%=Html.Password("password")%>
             <%=Html.ValidationMessage("password")%>
           </p>
           <p>
             <input type="submit" value="添加" class="button" />
           </p>
        </fieldset>
     </div>
 <%
    } %>

</asp:Content>
