<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
	
<div class="CommonContentArea">
	<div class="CommonContent">
		<span id="Span1" runat="server">
			<h3 class="CommonSubTitle">
				<CS:ResourceLabel runat="server" ResourceName="DeletePost_Title" />
			</h3>
			<CSD:PostFlatPreview id="PostPreview" LinkToParent="true" runat="server" />
		</span>

		<div class="CommonFormArea">
			<asp:Label id="deleteChildrenExplanation" runat="server" />
			<div class="CommonFormFieldName">
				<CS:ResourceLabel runat="server" ResourceName="DeletePost_DeleteChildren" />
			</div>
			<div class="CommonFormField">
				<CS:YesNoRadioButtonList id="DeleteChildren" runat="server" RepeatDirection="Horizontal" />
				<asp:RequiredFieldValidator id="DeleteChildrenValidator" runat="server" Cssclass="CommonValidationWarning" ControlToValidate="DeleteChildren" />
			</div>
		<div>
		<div>
			<CS:ResourceLabel runat="server" ResourceName="DeletePost_ReasonText" />
			<div class="CommonFormFieldName">
				<CS:ResourceLabel runat="server" ResourceName="DeletePost_Reason" />
			</div>
			<div>
				<asp:textbox id="DeleteReason" runat="server" columns="100" TextMode="MultiLine" rows="12" />
			</div>
			<div>
				<asp:Button id="DeletePost" runat="server" />&nbsp;<asp:Button id="CancelDelete" runat="server" />
				<asp:requiredfieldvalidator id="ValidateReason" runat="server" Cssclass="CommonValidationWarning" ControlToValidate="DeleteReason" EnableClientScript="False" />
			</div>
		</div>
	</div>
</div>