<xf:title>{$node.title} - {$user.username} - {{ phrase('permissions') }}</xf:title>

<xf:form action="{{ link('nodes/permissions/user', $node, {'user_id': $user.user_id}) }}" ajax="true" class="block">
	<xf:macro template="permission_macros" name="edit_outer" arg-type="content" />

	<div class="block-container">
		<xf:macro template="permission_macros" name="content_edit_groups"
			arg-interfaceGroups="{$permissionData.interfaceGroups}"
			arg-permissionsGrouped="{$permissionData.permissionsGrouped}"
			arg-values="{$userEntries}" />
		<xf:submitrow sticky="true" icon="save" />
	</div>
</xf:form>