From f151561968b017fed3aa4dee36d548149ee46204 Mon Sep 17 00:00:00 2001 From: Martina Lilja Date: Tue, 25 Feb 2025 13:03:19 +0100 Subject: [PATCH] ESY-6582 Tab can include src --- _includes/tabs.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/_includes/tabs.html b/_includes/tabs.html index 128d57a28..1bd84b777 100644 --- a/_includes/tabs.html +++ b/_includes/tabs.html @@ -1,6 +1,6 @@ {%- comment -%} **Parameters -tab_list(required): An array with items having the attributes title(required), content (required), include_src(optional) +tab_list(required): An array with items having the attributes title(required), content_text (required), content_src(optional) active_tab_index(optional): Index of the tab to be active by default {%- endcomment -%} @@ -18,11 +18,12 @@ {% for tab in tabs %}

- {{ tab.content }} - {% if tab.include_src %} - {{ tab.include_src }} - - + {{ tab.content_text }} + + {% if tab.content_src %} + {{ tab.content_src }} + + {% endif %}

{% endfor %}