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 8a274b5 commit db6ac9bCopy full SHA for db6ac9b
Resources/views/Form/foundation_5_layout.html.twig
@@ -269,7 +269,9 @@
269
{% endif %}
270
<label{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}>
271
{{ widget|raw }}
272
- {{ translation_domain is same as(false) ? label : label|trans(label_translation_parameters, translation_domain) }}
+ {%- if label is not same as(false) -%}
273
+ {{- block('form_label_content') -}}
274
+ {%- endif -%}
275
</label>
276
{%- endblock checkbox_radio_label %}
277
0 commit comments