<%@ Control Language="c#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>

<div class="CommonFormFieldName"><CS:ResourceControl runat="server" ResourceName="PollEditor_Title" ID="Resourcecontrol1"/></div>
<div class="CommonFormField">
		<asp:TextBox runat="server" ID="PollTitle" Style="width: 520px;" />
		<asp:CustomValidator id="PollTitleValidator" runat="server" CssClass="CommonValidationWarning">*</asp:CustomValidator>
</div>

<div class="CommonFormFieldName"><CS:ResourceControl runat="server" ResourceName="PollEditor_Description" ID="Resourcecontrol2"/></div>
<div class="CommonFormField"><CS:Editor runat="server" ID="PollDescription" Width="650" Height="175" /></div>

<div class="CommonFormFieldName"><CS:ResourceControl runat="server" ResourceName="PollEditor_Answers" ID="Resourcecontrol3"/><asp:CustomValidator id="AnswerValidator" runat="server" CssClass="CommonValidationWarning">*</asp:CustomValidator></div>
<div class="CommonFormField">
	<div runat="server" id="ContentContainer">
		<asp:PlaceHolder ID="Content" Runat="server" >
			<CS:CallbackInputHidden type="hidden" id="AnswerInformation" runat="server" />
			<asp:Repeater id="PollAnswerRepeater" runat="Server" EnableViewState="false">
				<HeaderTemplate>
					<ol class="CommonPollAnswerList">
				</HeaderTemplate>
				<ItemTemplate>
					<li>
						<CS:CallbackInputText type="text" Runat="server" size="70" ID="Answer" />
						<a href="#" Runat="server" ID="MoveUpButton" class="CommonPollMoveUpButton" >&nbsp;</a>
						<a href="#" Runat="server" ID="MoveDownButton" class="CommonPollMoveDownButton" >&nbsp;</a>
						<a href="#" Runat="server" ID="DeleteButton" class="CommonPollDeleteButton" >&nbsp;</a>
					</li>
				</ItemTemplate>
				<FooterTemplate>
					</ol>
				</FooterTemplate>
			</asp:Repeater>
		</asp:PlaceHolder>
	</div>
</div>

<div class="CommonFormFieldName"><CS:ResourceControl runat="server" ResourceName="PollEditor_AddAnswer" ID="Resourcecontrol4"/></div>
<div class="CommonFormField"><asp:TextBox Runat="server" ID="NewAnswer" Columns="70" /> <asp:LinkButton Runat="server" ID="AddButton" class="CommonTextButton"/></div>

<div class="CommonFormFieldName"><CS:ResourceControl runat="server" ResourceName="PollEditor_ExpiresAfter" ID="Resourcecontrol5"/></div>
<div class="CommonFormField">
	<asp:TextBox Runat="server" ID="ExpireAfterDays" Columns="3" /> <CS:ResourceControl runat="server" ResourceName="PollEditor_ExpiresAfterDays" ID="Resourcecontrol6"/>
	<asp:CustomValidator id="ExpireAfterDaysValidator" runat="server" CssClass="CommonValidationWarning">*</asp:CustomValidator>
</div>
