Under the default Symfony layout, I can use the first argument on form_label to set the label text for my checkbox. For example, this:
{{ form_label(form.fooCheckbox, 'Foo') }}
Correctly renders as:
<label>Foo</label>
However if I use the Bootstrap layout, this same argument is ignored:
{{ form_label(form.fooCheckbox, 'Foo') }}
Renders as:
<label>*default humanized label*</label>
How can I fix this?