diff --git a/form/bootstrap5.rst b/form/bootstrap5.rst index 779820b9861..2e82bda0cab 100644 --- a/form/bootstrap5.rst +++ b/form/bootstrap5.rst @@ -114,7 +114,7 @@ Form type or ``ChoiceType`` configuration) to the label class. $builder ->add('myCheckbox', CheckboxType::class, [ 'label_attr' => [ - 'class' => '`checkbox-inline', + 'class' => 'checkbox-inline', ], ]) ->add('myRadio', RadioType::class, [