diff --git a/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk b/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk index 793f6edf40..49ebb9bd23 100644 --- a/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk +++ b/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk @@ -43,8 +43,7 @@ }) | indent(2) | trim }} {% endif %}
+ {%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %} data-module="govuk-checkboxes"> {% for item in params.items %} {% if item %} {#- If the user explicitly sets an id, use this instead of the regular idPrefix -#} diff --git a/packages/govuk-frontend/src/govuk/components/notification-banner/template.njk b/packages/govuk-frontend/src/govuk/components/notification-banner/template.njk index 6ff8e71862..2d17fe01ef 100644 --- a/packages/govuk-frontend/src/govuk/components/notification-banner/template.njk +++ b/packages/govuk-frontend/src/govuk/components/notification-banner/template.njk @@ -26,9 +26,7 @@ {% set title = "Important" %} {%- endif -%} -
diff --git a/packages/govuk-frontend/src/govuk/components/radios/template.njk b/packages/govuk-frontend/src/govuk/components/radios/template.njk index 4385a75803..7fe0ab4fd0 100644 --- a/packages/govuk-frontend/src/govuk/components/radios/template.njk +++ b/packages/govuk-frontend/src/govuk/components/radios/template.njk @@ -37,8 +37,7 @@ }) | indent(2) | trim }} {% endif %}
+ {%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %} data-module="govuk-radios"> {% for item in params.items %} {% if item %} {#- If the user explicitly sets an id, use this instead of the regular idPrefix -#}