Replace delete text with icon and add aria
This commit is contained in:
parent
1d52dfd83a
commit
a3bd73abd1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
{% for wish in wishes %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center"> {{ wish.title }}
|
||||
<span>
|
||||
<a href="{{ path('delete_wish', {'id': wish.id}) }}"><button class="btn btn-danger">Delete</button></a>
|
||||
<a href="{{ path('delete_wish', {'id': wish.id}) }}" class="btn btn-danger" aria-label="Delete"><i class="fas fa-trash-alt" aria-hidden="true" title="Delete"></i></a>
|
||||
</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Reference in a new issue