More updates to checkboxes and radio buttons

This commit is contained in:
Jonathan Bobel
2023-08-14 14:30:57 -04:00
parent 0929a920b7
commit 68d49fc8dd
5 changed files with 26 additions and 31 deletions

View File

@@ -57,13 +57,11 @@
</span>
</a>
{% endif %}
<span id="{{ item.id }}-item-hint" class="usa-checkbox__label-description template-list-item-hint">
{{ item.hint }}
</span>
{% endset %}
{% set item_meta %}
<span id="{{ item.id }}-item-hint" class="usa-hint template-list-item-hint">
{{ item.hint }}
</span>
{% 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 currently support this -#}

View File

@@ -34,7 +34,7 @@
<div class="govuk-grid-row">
<div class="{% if current_user.has_permissions('manage_templates') %} govuk-grid-column-five-sixths {% else %} govuk-grid-column-full {% endif %}">
<div class="usa-alert usa-alert--info usa-alert--slim margin-y-5">
<div class="usa-alert usa-alert--info usa-alert--slim">
<div class="usa-alert__body">
<p class="usa-alert__text">
Every message starts with a template. To send, choose or create a template.