RoleForm: Don't wrap the h4's in a control-group

This commit is contained in:
Johannes Meyer 2019-07-25 09:42:01 +02:00
parent f57fc96b57
commit 83c386ea15
1 changed files with 4 additions and 2 deletions

View File

@ -188,7 +188,8 @@ class RoleForm extends RepositoryForm
$elements[] = 'permission_header';
$this->addElement('note', 'permission_header', [
'value' => '<h4>' . $this->translate('Permissions') . '</h4>'
'value' => '<h4>' . $this->translate('Permissions') . '</h4>',
'decorators' => ['ViewHelper']
]);
$hasFullPerm = false;
@ -217,7 +218,8 @@ class RoleForm extends RepositoryForm
if (isset($this->providedRestrictions[$moduleName])) {
$elements[] = 'restriction_header';
$this->addElement('note', 'restriction_header', [
'value' => '<h4>' . $this->translate('Restrictions') . '</h4>'
'value' => '<h4>' . $this->translate('Restrictions') . '</h4>',
'decorators' => ['ViewHelper']
]);
foreach ($this->providedRestrictions[$moduleName] as $name => $spec) {