Loading src/UnicaenApp/Form/View/Helper/FormControlGroup.php +4 −0 Changes for src/UnicaenApp/Form/View/Helper/FormControlGroup.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -146,6 +146,10 @@ class FormControlGroup extends AbstractHelper $element->setLabelAttributes($labelAttributes); } if (is_a($element, Select::class)){ $element->setAttribute('class', $element->getAttribute('class') . ' form-select'); } if (is_a($element, Checkbox::class)) { $element->setAttribute('class', $element->getAttribute('class') . ' form-check-input'); if (!$element->getAttribute('id')) { Loading Loading
src/UnicaenApp/Form/View/Helper/FormControlGroup.php +4 −0 Changes for src/UnicaenApp/Form/View/Helper/FormControlGroup.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -146,6 +146,10 @@ class FormControlGroup extends AbstractHelper $element->setLabelAttributes($labelAttributes); } if (is_a($element, Select::class)){ $element->setAttribute('class', $element->getAttribute('class') . ' form-select'); } if (is_a($element, Checkbox::class)) { $element->setAttribute('class', $element->getAttribute('class') . ' form-check-input'); if (!$element->getAttribute('id')) { Loading