Remove leading slash from static img

This commit is contained in:
igorkorenfeld 2022-11-14 12:29:29 -05:00
parent b781ae732e
commit 7495dba742
No known key found for this signature in database
GPG key ID: 826947A4B867F659
3 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@
<button type="button" class="usa-button usa-button--unstyled">
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
<use xlink:href="{%static '/img/sprite.svg'%}#add_circle"></use>
<use xlink:href="{%static 'img/sprite.svg'%}#add_circle"></use>
</svg><span class="margin-left-05">Add another alternative</span>
</button>
</div>

View file

@ -13,7 +13,7 @@
{% if wizard.steps.prev %}
<a href="{% url wizard.url_name step=wizard.steps.prev %}">
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
<use xlink:href="{%static '/img/sprite.svg'%}#arrow_back"></use>
<use xlink:href="{%static 'img/sprite.svg'%}#arrow_back"></use>
</svg><span class="margin-left-05">Previous step </span>
</a>
{% endif %}

View file

@ -14,7 +14,7 @@
{{ form_titles|get_item:this_step }}
<svg class="usa-icon" aria-labelledby="locked-step" role="img">
<title id="locked-step">locked until previous steps have been completed </title>
<use xlink:href="{%static '/img/sprite.svg'%}#lock"></use>
<use xlink:href="{%static 'img/sprite.svg'%}#lock"></use>
{% endif %}
</li>
{% endfor %}