<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" EnableEventValidation="false"
    CodeBehind="AnonymousContent2.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.User.Content.AnonymousContent2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="MainForm" runat="server">
    <asp:ScriptManager ID="SmContent" runat="server" ScriptMode="Release" EnablePartialRendering="true">
    </asp:ScriptManager>
    <div class="anonymouscontent_top">
        <h3>
            <asp:Label ID="LblTitle" runat="server" Text="<%$ Res: User_Contents_AnonymousContent2_LblTitle,匿名投稿第二步 %>">
            </asp:Label>
        </h3>
    </div>
    <div class="model_content_center" style="width: auto;">
        <ul class="add_model_content">
            <pe:extendedrepeater id="ContentForm" runat="server" onitemdatabound="ContentForm_OnItemDataBound">
                <ItemTemplate>
                    <li>
                        <label>
                            <strong>
                                <%# Eval("FieldAlias")%>
                                ：&nbsp; </strong>
                            <br />
                            <%# Eval("Tips") %></label>
                        <pe:FieldControl ID="Field" runat="server" EnableNull='<%# (bool)Eval("EnableNull") %>' ModelId='<%# Eval("ModelId") %>' FieldAlias='<%# Eval("FieldAlias")%>' Tips='<%# Eval("Tips") %>' FieldName='<%#Eval("FieldName")%>' ControlType='<%# Eval("FieldType") %>' FieldLevel='<%# Eval("FieldLevel") %>' IsAdminManage="false" Description='<%# Eval("Description")%>' Settings='<%# ((PowerEasy.Module.General.Model.CommonModel.FieldInfo)Container.DataItem).Settings %>' Value='<%# Eval("DefaultValue") %>'>
                        </pe:FieldControl>
                    </li>
                </ItemTemplate>
            </pe:extendedrepeater>
        </ul>
        <div class="submit_model_content">
            <asp:Button ID="BtnSave" CssClass="input_button_two" runat="server" Text="<%$ Res: User_Contents_AnonymousContent2_BtnSave,提交 %>"
                OnClick="BtnSave_Click" />&nbsp;&nbsp;
            <asp:Button ID="BtnBack" CssClass="input_button_five" runat="server" Text="<%$ Res: User_Contents_AnonymousContent2_BtnBack,返回第一步 %>"
                OnClick="BtnBack_Click" CausesValidation="False" />
        </div>
    </div>
    </form>
</body>
</html>
