<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 template="helper_action" name="delete_type" arg-canHardDelete="{$thread.canDelete('hard')}" />

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