$action.getText("title.manage.groups")

#requireResource("confluence.web.resources:ajs") #requireResource("confluence.admin.user:browsegroups") #requireResource("confluence.web.resources:aui-forms")
#parse ( "/template/includes/actionerrors.vm" ) #set($fielderrors = $action.getFieldErrors())
#if( $permissionCheckDispatcher.isPermitted("/admin/users/creategroup.action") ) $action.getText('heading.add.group')
#form_xsrfToken()
#bodytag( "Component" "label='groupname.word'" "id=name" "name='name'" "theme='aui'" "template='text-inline.vm'" )#end
#end
#set($groups = $action.paginationSupport.page)

$action.getText("name.word") | $action.getText("heading.operations")
--- | ---
#if( $groups.isEmpty() )
$action.getText("there.are.no.groups")
#else #foreach ($group in $groups.iterator())
$webwork.htmlEncode($group.name) | #if ($action.canRemove($group)) $action.getText("remove.name") #end
#end #end

#entityPagination($action.paginationSupport "?") #parse("/breadcrumbs.vm")