diff --git a/app/templates/includes/help_icon.html b/app/templates/cotton/ui/help_icon.html similarity index 57% rename from app/templates/includes/help_icon.html rename to app/templates/cotton/ui/help_icon.html index a4b9b86..4ab9dfa 100644 --- a/app/templates/includes/help_icon.html +++ b/app/templates/cotton/ui/help_icon.html @@ -1,7 +1,8 @@ {% spaceless %} +{% load i18n %} - + {% endspaceless %} diff --git a/app/templates/cotton/ui/info_card.html b/app/templates/cotton/ui/info_card.html index 83d7cc5..a1030fd 100644 --- a/app/templates/cotton/ui/info_card.html +++ b/app/templates/cotton/ui/info_card.html @@ -3,7 +3,7 @@ {% if icon %}{% else %}{{ title.0 }}{% endif %}
-
{{ title }}{% if help_text %}{% include 'includes/help_icon.html' with content=help_text %}{% endif %}
+
{{ title }}{% if help_text %}{% endif %}
{{ slot }}