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

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">
<h3>修改评论</h3>
<%=Html.ValidationSummary("修改评论失败，请修改错误后再提交") %>
<%
    using (Html.BeginForm("AdminCommentEdit"))
    {
 %>
     <div>
        <fieldset>
           <%=Html.Hidden("id",Model.id.ToString()) %>
           <p>
             <label for="author">您的名字：</label>
             <%=Html.TextBox("author",null,new{size=33}) %>
             <%=Html.ValidationMessage("author") %>
           </p>
           <p>
            <label for="body">评论内容：</label>
            <%=Html.TextBox("body",null,new{size=33}) %>
             <%=Html.ValidationMessage("body") %>
           </p>
           <p>
             <input type="submit" value="修改" class="button" />
           </p>
        </fieldset>
     </div>
 <%
    } %>
</asp:Content>
