<xf:title>{$userGroup.title}</xf:title>

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

<xf:form action="{{ link('permissions/user-groups/save', $userGroup) }}" ajax="true" class="block">
	<xf:macro id="permission_macros::edit_outer" arg-type="global" />

	<div class="block-container">
		<xf:macro id="permission_macros::edit_groups"
			arg-interfaceGroups="{$permissionData.interfaceGroups}"
			arg-permissionsGrouped="{$permissionData.permissionsGrouped}"
			arg-values="{$permissionData.values}" />

		<xf:submitrow sticky="true" icon="save" />
	</div>
</xf:form>