Remove .icinga-form and .icinga-controls from all inline remove forms

This commit is contained in:
Johannes Meyer 2019-07-26 13:51:00 +02:00
parent faca0962ef
commit 775f5cd3b5
3 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class GroupController extends AuthBackendController
if ($this->hasPermission('config/authentication/groups/edit') && $backend instanceof Reducible) {
$removeForm = new Form();
$removeForm->setUidDisabled();
$removeForm->setAttrib('class', 'inline');
$removeForm->setAction(
Url::fromPath('group/removemember', array('backend' => $backend->getName(), 'group' => $groupName))
);

View File

@ -167,6 +167,7 @@ class NavigationController extends Controller
$removeForm = new Form();
$removeForm->setUidDisabled();
$removeForm->setAttrib('class', 'inline');
$removeForm->addElement('hidden', 'name', array(
'decorators' => array('ViewHelper')
));

View File

@ -141,6 +141,7 @@ class UserController extends AuthBackendController
if ($this->hasPermission('config/authentication/groups/edit')) {
$removeForm = new Form();
$removeForm->setUidDisabled();
$removeForm->setAttrib('class', 'inline');
$removeForm->addElement('hidden', 'user_name', array(
'isArray' => true,
'value' => $userName,