Commit 61236697 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction Aide de vue FormControlGroup.

parent 663ebe4f
Loading
Loading
Loading
Loading
+1 −1
Changes for src/UnicaenApp/Form/View/Helper/FormControlGroup.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ EOT;

    private function normalizeElement(ElementInterface $element)
    {
        if (! $element instanceof Button) {
        if (! $element instanceof Button && ! $element instanceof Checkbox) {
            $class = $element->getAttribute('class');
            $labelClass = array_key_exists('class', $tmp = (array)$element->getLabelAttributes()) ? $tmp['class'] : '';
            $element