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

<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("返回列表","ProductBrandsList") %></div>
    <hr />
    <% using (Html.BeginForm()) {%>
    <div>
        <%--品牌名称--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.BrandName) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.BrandName) %> <%= Html.DisplayToolTipFor(model => model.BrandName) %> <%= Html.ValidationMessageFor(model => model.BrandName) %></span>
        <%--是否显示--%>
        <span><%= Html.LabelFor(model => model.ViewFlag) %>：<%= Html.CheckBoxFor(model => model.ViewFlag) %> <%= Html.DisplayToolTipFor(model => model.ViewFlag) %></span>
    </div>
    <div>
        <%--显示顺序--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.Sequence) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.Sequence)%> <%= Html.DisplayToolTipFor(model => model.Sequence) %>
            <%= Html.ValidationMessageFor(model => model.Sequence)%></span>
    </div>
    <div>
        <%--页面标题--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.PageTitle) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.PageTitle) %> <%= Html.DisplayToolTipFor(model => model.PageTitle) %> <%= Html.ValidationMessageFor(model => model.PageTitle) %></span>
    </div>
    <div>
        <%--页面关键字--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.PageKeywords) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.PageKeywords) %> <%= Html.DisplayToolTipFor(model => model.PageKeywords) %> <%= Html.ValidationMessageFor(model => model.PageKeywords) %></span>
    </div>
    <div>
        <%--页面描述--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.PageDescription) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.PageDescription) %> <%= Html.DisplayToolTipFor(model => model.PageDescription) %> <%= Html.ValidationMessageFor(model => model.PageDescription) %></span>
    </div>
    <div>
        <%----%>
        <%= Html.HiddenFor(model=>model.ID) %>
    </div>
    <p><input type="submit" value="保 存" /> <input type="submit" value="另存为" onclick="$('#ID').val('');" /></p>
    <% } %>
</asp:Content>