Skip to content
Snippets Groups Projects

Issue #3490055 by pdureau: Replace component() function by include()

40 files
+ 296
468
Compare changes
  • Side-by-side
  • Inline
Files
40
@@ -7,14 +7,10 @@
'aria-describedby': field_name ~ '-label'
}) %}
{{ component('ui_suite_uswds:label',
{
label: field_label|default('')
},
{
for_value: field_name,
}
) }}
{{ include('ui_suite_uswds:label', {
label: field_label|default(''),
for_value: field_name,
}, with_context = false) }}
<div{{ attributes.addClass('usa-character-count').setAttribute('data-maxlength', max_length) }}>
<div class="usa-form-group">
Loading