mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 12:24:29 +02:00
parent
b875b28dea
commit
24c1bb1f8c
@ -11,7 +11,8 @@ class IcingaCheckbox extends \Zend_View_Helper_FormCheckbox
|
|||||||
$attribs['id'] = $this->view->protectId('icingaCheckbox_' . $name);
|
$attribs['id'] = $this->view->protectId('icingaCheckbox_' . $name);
|
||||||
}
|
}
|
||||||
|
|
||||||
$attribs['class'] = (isset($attribs['class']) ? $attribs['class'] . ' ' : '') . 'sr-only';
|
$attribs['class'] = (isset($attribs['class']) ? $attribs['class'] : '');
|
||||||
|
$attribs['hidden'] = true;
|
||||||
$html = parent::formCheckbox($name, $value, $attribs, $checkedOptions);
|
$html = parent::formCheckbox($name, $value, $attribs, $checkedOptions);
|
||||||
|
|
||||||
$class = 'toggle-switch';
|
$class = 'toggle-switch';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user