Loading src/UnicaenApp/Form/View/Helper/FormControlGroup.php +4 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,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 Original line number Diff line number Diff line Loading @@ -147,6 +147,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