function getEditForm($id = null)
 {
     $form = parent::getEditForm($id);
     if (!$id) {
         $id = $this->currentPageID();
     }
     if ($id && is_numeric($id)) {
         $fields = $form->Fields();
         if ($fields->hasTabSet()) {
             $fields->findOrMakeTab('Root.Import', _t('Group.IMPORTTABTITLE', 'Import'));
             $fields->addFieldToTab('Root.Import', new LiteralField('MemberImportFormIframe', sprintf('<iframe src="%s" id="MemberImportFormIframe" width="100%%" height="400px" border="0"></iframe>', $this->Link('memberimport'))));
             if (Permission::check('APPLY_ROLES')) {
                 $fields->addFieldToTab('Root.Roles', new LiteralField('RolesAddEditLink', sprintf('<p class="add-role"><a href="%s">%s</a></p>', $this->Link('show/root'), _t('Group.RolesAddEditLink', 'Add/edit roles'))));
             }
         }
         $form->Actions()->insertBefore($actionAddMember = new FormAction('addmember', _t('SecurityAdmin.ADDMEMBER', 'Add Member')), 'action_save');
         $actionAddMember->setForm($form);
         // Filter permissions
         $permissionField = $form->Fields()->dataFieldByName('Permissions');
         if ($permissionField) {
             $permissionField->setHiddenPermissions(self::$hidden_permissions);
         }
     }
     $this->extend('updateEditForm', $form);
     return $form;
 }