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

<xf:form action="{{ link('search-forums/delete', $node) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				{{ phrase('please_confirm_that_you_want_to_delete_following:') }}
				<strong><a href="{{ link('search-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>