<xf:if is="$userGroup">
	<xf:title>{$userGroup.title}</xf:title>
<xf:else />
	<xf:title>{$user.username}</xf:title>
</xf:if>

<xf:breadcrumb href="{{ link($routePrefix, $record) }}">{$record.title}</xf:breadcrumb>

<xf:if is="$userGroup.user_group_id === 1">
	<div class="blockMessage blockMessage--iconic blockMessage--highlight">
		{{ phrase('note_that_these_permissions_apply_to_both_guests_and_unconfirmed_members') }}
	</div>
</xf:if>

<xf:macro id="permission_node_macros::edit"
	arg-node="{$record}"
	arg-permissionData="{$permissionData}"
	arg-typeEntries="{$typeEntries}"
	arg-routeBase="{$routePrefix}"
	arg-saveParams="{$saveParams}" />