<xf:title>{{ phrase('delete_thread') }}</xf:title>

<xf:breadcrumb source="$thread.getBreadcrumbs()" />

<xf:form action="{{ link('threads/delete', $thread) }}" class="block" ajax="true">
	<div class="block-container">
		<div class="block-body">
			<xf:macro id="helper_action::delete_type" arg-canHardDelete="{$thread.canDelete('hard')}" />

			<xf:if is="$thread.canSendModeratorActionAlert()">
				<xf:macro id="helper_action::thread_alert" />
			</xf:if>
		</div>
		<xf:submitrow icon="delete" />
	</div>
</xf:form>