diff --git a/cfgov/tccp/jinja2/tccp/includes/tooltip.html b/cfgov/tccp/jinja2/tccp/includes/tooltip.html index 08984332887..581c961fb1e 100644 --- a/cfgov/tccp/jinja2/tccp/includes/tooltip.html +++ b/cfgov/tccp/jinja2/tccp/includes/tooltip.html @@ -1,9 +1,12 @@ -{% macro tooltip(name, heading=none, body=none, icon="help-round", tabindex="0") -%} +{% set c = namespace(value=0)%} - +{% macro tooltip(name, heading=none, body=none, icon="help-round", tabindex="0") -%} +{% set id = "tooltip" + c.value | string %} +{% set c.value = c.value + 1 %} + {{ svg_icon(icon) }} -