mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
PreferenceForm: Add .theme-mode
class to theme mode control-group
refs #4562
This commit is contained in:
parent
ea5560756b
commit
bdfb75023f
@ -243,7 +243,11 @@ class PreferenceForm extends Form
|
|||||||
],
|
],
|
||||||
'value' => isset($value) ? $value : '',
|
'value' => isset($value) ? $value : '',
|
||||||
'disable' => isset($disabled) ? $disabled : [],
|
'disable' => isset($disabled) ? $disabled : [],
|
||||||
'escape' => false
|
'escape' => false,
|
||||||
|
'decorators' => array_merge(
|
||||||
|
array_slice(self::$defaultElementDecorators, 0, -1),
|
||||||
|
[['HtmlTag', ['tag' => 'div', 'class' => 'control-group theme-mode']]]
|
||||||
|
)
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user