diff --git a/application/forms/Security/RoleForm.php b/application/forms/Security/RoleForm.php index e73529a40..1e91a467f 100644 --- a/application/forms/Security/RoleForm.php +++ b/application/forms/Security/RoleForm.php @@ -188,7 +188,8 @@ class RoleForm extends RepositoryForm $elements[] = 'permission_header'; $this->addElement('note', 'permission_header', [ - 'value' => '

' . $this->translate('Permissions') . '

' + 'value' => '

' . $this->translate('Permissions') . '

', + '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' => '

' . $this->translate('Restrictions') . '

' + 'value' => '

' . $this->translate('Restrictions') . '

', + 'decorators' => ['ViewHelper'] ]); foreach ($this->providedRestrictions[$moduleName] as $name => $spec) {