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

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

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

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