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

<xf:form action="{{ link('forums/delete', $node) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				{{ phrase('please_confirm_want_to_delete_forum_and_discussions:') }}
				<strong><a href="{{ link('forums/edit', $node) }}">{$node.title}</a></strong>
			</xf:inforow>

			<xf:macro template="helper_node_delete_children" name="delete_row" arg-node="{$node}" arg-nodeTree="{$nodeTree}" />
		</div>
		<xf:submitrow rowtype="{{ !$node.hasChildren() ? 'simple' : '' }}" icon="delete" />
	</div>
	<xf:redirect />
</xf:form>