Skip to content

Commit

Permalink
Fix missing icon
Browse files Browse the repository at this point in the history
  • Loading branch information
katdom13 committed May 21, 2024
1 parent ba80f48 commit c133098
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/wagtail_2fa/templates/wagtail_2fa/device_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ <h2>

{# Users can only add devices to their own account #}
{% if user_id == request.user.id %}
<a href="{% url 'wagtail_2fa_device_new' %}" class="button bicolor icon icon-plus">{% trans 'New device' %}</a>
<a href="{% url 'wagtail_2fa_device_new' %}" class="button bicolor button--icon">
<span class="icon-wrapper"><svg class="icon icon-plus icon" aria-hidden="true"><use href="#icon-plus"></use></svg></span>
{% trans 'New device' %}
</a>
{% endif %}
</div>
{% endblock %}

0 comments on commit c133098

Please sign in to comment.