revert change back to params.for in order for user to select radio option

This commit is contained in:
Beverly Nguyen
2025-03-17 13:45:19 -07:00
parent f820ae86f3
commit 965db9cd7e

View File

@@ -2,7 +2,7 @@
{% set labelHtml %}
<label class="usa-label{%- if params.classes %} {{ params.classes }}{% endif %}"
{%- for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %}
{%- if params.text %} for="{{ params.text | slugify }}"{% endif %}>
{%- if params.for %} for="{{ params.for }}"{% endif %}>
{{ params.html | safe if params.html else params.text }}
</label>
{% endset %}