<xf:selectrow name="{$formPrefix}[node_id]" value="{$config.node_id}"
	label="{{ phrase('node') }}">

	<xf:option value="0">&nbsp;</xf:option>
	<xf:foreach loop="$nodeTree.getFlattened(0)" value="$treeEntry">
		<xf:option value="{$treeEntry.record.node_id}">{{ repeat('--', $treeEntry.depth) }} {$treeEntry.record.title}</xf:option>
	</xf:foreach>
</xf:selectrow>

<xf:checkboxrow>
	<xf:option name="{$formPrefix}[node_title]" selected="{$config.node_title}">
		{{ phrase('display_node_title_instead_of_navigation_entry_title') }}
	</xf:option>
	<xf:option name="{$formPrefix}[with_children]" selected="{$config.with_children}">
		{{ phrase('display_children_in_navigation') }}
	</xf:option>
</xf:checkboxrow>

<xf:macro id="navigation_edit_macros::extra_attrs"
	arg-config="{$config}" arg-formPrefix="{$formPrefix}" />