diff --git a/src/unfold/templates/unfold/helpers/tab_list.html b/src/unfold/templates/unfold/helpers/tab_list.html index 21b1045a..3ef3768f 100644 --- a/src/unfold/templates/unfold/helpers/tab_list.html +++ b/src/unfold/templates/unfold/helpers/tab_list.html @@ -1,6 +1,9 @@ {% load i18n %} -{% if not is_popup and tabs_list%} -
- {% include "unfold/helpers/tab_items.html" %} -
+ +{% if not is_popup %} + {% if tabs_list or inlines_list %} +
+ {% include "unfold/helpers/tab_items.html" %} +
+ {% endif %} {% endif %}