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 : '',
|
||||
'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…
Reference in New Issue