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 253cde2 commit 53d7857Copy full SHA for 53d7857
src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig
@@ -148,10 +148,14 @@
148
{% endblock %}
149
150
{% block checkbox_label -%}
151
+ {%- set label_attr = label_attr|merge({'for': id}) -%}
152
+
153
{{- block('checkbox_radio_label') -}}
154
{%- endblock checkbox_label %}
155
156
{% block radio_label -%}
157
158
159
160
{%- endblock radio_label %}
161
0 commit comments