We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39496d5 commit 4681148Copy full SHA for 4681148
form/bootstrap4.rst
@@ -97,8 +97,8 @@ and ``checkbox-custom`` respectively.
97
98
.. code-block:: html+twig
99
100
- {{ form_row(form.myRadio, {attr: {class: 'radio-custom'} }) }}
101
- {{ form_row(form.myCheckbox, {attr: {class: 'checkbox-custom'} }) }}
+ {{ form_row(form.myRadio, {label_attr: {class: 'radio-custom'} }) }}
+ {{ form_row(form.myCheckbox, {label_attr: {class: 'checkbox-custom'} }) }}
102
103
Labels and Errors
104
-----------------
0 commit comments