mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 21:18:26 -04:00
Migrate 4 govuk utility components to USWDS equivalents
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
{% endif %}
|
||||
{% for notification in api_notifications.notifications %}
|
||||
<details class="api-notifications-item govuk-details" data-module="govuk-details">
|
||||
<summary class="govuk-details__summary govuk-clearfix api-notifications-item__heading">
|
||||
<summary class="govuk-details__summary api-notifications-item__heading">
|
||||
<h3>
|
||||
<span class="govuk-details__summary-text">
|
||||
{{ notification.to }}
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
{% endset %}
|
||||
|
||||
{# create the item config now to include the label content -#}
|
||||
{# TODO: "attributes": { "aria-describedby": item.id ~ "-hint" } needs to be added but govuk-frontend-jinja doesn't
|
||||
{# TODO: "attributes": { "aria-describedby": item.id ~ "-hint" } needs to be added but USWDS framework doesn't
|
||||
currently support this -#}
|
||||
{% set checkbox_config = {
|
||||
"html": label_content,
|
||||
|
||||
Reference in New Issue
Block a user