add an icon to delete button

This commit is contained in:
mst 2024-11-26 15:00:07 +03:00
parent 22493bdfc7
commit 95f2f4e1a9

View file

@ -4,7 +4,7 @@
<td><code>{{ emoji.relative_path }}</code></td> <td><code>{{ emoji.relative_path }}</code></td>
<td> <td>
<div id="actions"> <div id="actions">
<button class="btn btn-sm btn-outline-danger" hx-target="#emoji-{{emoji.name}}" hx-delete="{{ url_for('api.deleteEmoji', emoji_name=emoji.relative_path) }}">Delete</button> <button class="btn btn-sm btn-outline-danger" hx-target="#emoji-{{emoji.name}}" hx-delete="{{ url_for('api.deleteEmoji', emoji_name=emoji.relative_path) }}"><i class="bi bi-trash me-1"></i> Delete</button>
</div> </div>
</td> </td>
</tr> </tr>