<xf:if is="$node.isInsert()">
	<xf:title>{{ phrase('add_link_forum') }}</xf:title>
<xf:else />
	<xf:title>{{ phrase('edit_link_forum:') }} {$node.title}</xf:title>
</xf:if>

<xf:pageaction if="$node.isUpdate()">
	<xf:button href="{{ link('link-forums/delete', $node) }}" icon="delete" overlay="true" />
</xf:pageaction>

<xf:form action="{{ link('link-forums/save', $node) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:macro template="node_edit_macros" name="title" arg-node="{$node}" />
			<xf:macro template="node_edit_macros" name="description" arg-node="{$node}" />

			<xf:textboxrow name="link_url" value="{$link.link_url}"
				label="{{ phrase('link_url') }}"
				explain="{{ phrase('users_redirected_to_url_when_click_on_link_forum') }}" />

			<xf:macro template="node_edit_macros" name="position" arg-node="{$node}" arg-nodeTree="{$nodeTree}" />
		</div>
		<xf:submitrow sticky="true" icon="save" />
	</div>
</xf:form>