8000 foundation 5 layout: use form_label_content block for checkbox and ra… · symfony/symfony@7423620 · GitHub
[go: up one dir, main page]

Skip to content
Sign in

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7423620

Browse files
authored
foundation 5 layout: use form_label_content block for checkbox and radio labels
1 parent 9f692c6 commit 7423620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
{% endif %}
270270
<label{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}>
271271
{{ widget|raw }}
272-
{{ translation_domain is same as(false) ? label : label|trans(label_translation_parameters, translation_domain) }}
272+
{{- block('form_label_content') -}}
273273
</label>
274274
{%- endblock checkbox_radio_label %}
275275

0 commit comments

Comments
 (0)
0