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

<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("返回列表","VoteClassList") %></div>
    <hr />
    <% using (Html.BeginForm()) {%>
    <div>
        <%--调查名称--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.Title) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(model => model.Title) %> <%= Html.DisplayToolTipFor(model => model.Title) %> <%= Html.ValidationMessageFor(model => model.Title) %></span>
    </div>
    <div>
        <%--是否单选--%>
        <span class="editor-label"><%= Html.LabelFor(model => model.IsSingle) %>：</span>
        <span class="editor-field"><%= Html.CheckBoxFor(model => model.IsSingle) %> <%= Html.DisplayToolTipFor(model => model.IsSingle) %> <%= Html.ValidationMessageFor(model => model.IsSingle) %></span>
    </div>
    <div>
        <%----%>
        <%= Html.HiddenFor(model=>model.ID) %>
    </div>
    <p><input type="submit" value="保 存" /> </p>
    <% } %>
</asp:Content>