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

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

  <h3>修改分类</h3>
<%=Html.ValidationSummary("修改分类失败，请修改错误后再提交") %>
<%
    using (Html.BeginForm("AdminTagEdit"))
    {
 %>
     <div>
        <fieldset>
           <%=Html.Hidden("id",Model.id.ToString()) %> <!--隐藏域，存储的是分类的ID号-->
           <p>
             <label for="tagname">分类名称：</label>
             <%=Html.TextBox("tagname",null,new{size=33}) %>
             <%=Html.ValidationMessage("tagname") %>
           </p>
           <p>
             <input type="submit" value="修改" class="button" />
           </p>
        </fieldset>
     </div>
 <%
    } %>

</asp:Content>
