Closed (fixed)
Project:
radix
Version:
6.0.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2025 at 21:26 UTC
Updated:
31 Oct 2025 at 06:29 UTC
Jump to comment: Most recent
In the form-element.twig template the description_classes are not being added in the 'before' case as in the 'after' case:
{% if description_display == 'before' and description.content %}
<div{{description.attributes}}>
{{ description.content }}
</div>Whereas in the 'after' case we have the following:
{% if description_display in ['after', 'invisible'] and description.content %}
<small{{description.attributes.addClass(description_classes)}}>
{{ description.content }}
</small>Change the 'before' (line 89) to add the same classes as the in 'after' (line 115).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
arx-e commentedComment #3
arx-e commentedComment #6
doxigo commentedThanks a lot Aris, merged.