mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Give selected pill item an id
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
{% for label, option, link, count in items %}
|
{% for label, option, link, count in items %}
|
||||||
<li class="pill-item__container">
|
<li class="pill-item__container">
|
||||||
{% if current_value == option %}
|
{% if current_value == option %}
|
||||||
<a class="pill-item pill-item--selected govuk-link govuk-link--no-visited-state{% if not show_count %} pill-item--centered{% endif %}" href="{{ link }}" aria-current="page">
|
<a id="pill-selected-item" class="pill-item pill-item--selected govuk-link govuk-link--no-visited-state{% if not show_count %} pill-item--centered{% endif %}" href="{{ link }}" aria-current="page">
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="pill-item govuk-link govuk-link--no-visited-state" href="{{ link }}">
|
<a class="pill-item govuk-link govuk-link--no-visited-state" href="{{ link }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user