more tweaks

This commit is contained in:
Jon Roberts 2023-03-07 13:49:30 -05:00
parent 73287f00e9
commit 4f0979881e
No known key found for this signature in database
GPG key ID: EED093582198B041

View file

@ -6,16 +6,18 @@
{% for this_step in steps.all %}
{% if this_step in visited %}
<li class="usa-sidenav__item">
<span>
<a href="{% namespaced_url 'application' this_step %}"
{% if this_step == steps.current %}class="usa-current"{% endif%}>
{% if not this_step == steps.current %}
<svg class="usa-icon text-green" aria-hidden="true" focsuable="false" role="img" width="24" height="24">
<title id="locked-step__{{forloop.counter}}">Checked mark</title>
<title id="checked-step__{{forloop.counter}}">Checked mark</title>
<use xlink:href="{%static 'img/sprite.svg'%}#check_circle"></use>
</svg>
{% endif %}
{{ form_titles|get_item:this_step }}
</a>
</span>
{% else %}
<li class="usa-sidenav__item sidenav__step--locked">
<span>