feat(cotton): convert help icon to cotton template; allow setting custom icon

This commit is contained in:
Herculino Trotta
2025-04-19 02:34:16 -03:00
parent 2eadfe99a5
commit a25c992d5c
2 changed files with 3 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
{% spaceless %}
{% load i18n %}
<span class="tw-text-xs text-white-50 mx-1"
data-bs-toggle="tooltip"
data-bs-title="{{ content }}">
<i class="{% if not icon %}fa-solid fa-circle-question{% else %}{{ icon }}{% endif %} fa-fw"></i>
</span>
{% endspaceless %}