Skip to content

Commit

Permalink
[TASK] replace nav tag with div tag in custom element tab (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwundermann committed Jun 6, 2023
1 parent 5c26d81 commit 0ae2c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Templates/ContentElements/Tab.html
Expand Up @@ -14,15 +14,15 @@
<f:variable name="currentVariants" value="{variants}" />


<nav class="tab-navigation">
<div class="tab-navigation">
<div class="nav nav-tabs" id="tab-{data.uid}" role="tablist">
<f:for each="{records}" as="record" iteration="iteration">
<button class="nav-link{f:if(condition: '{activeTab} == {record.data.uid}',then: ' active')}" id="tab-{data.uid}-{record.data.uid}" data-bs-toggle="tab" data-bs-target="#tabcontent-{data.uid}-{record.data.uid}" type="button" role="tab" aria-controls="tabcontent-{data.uid}-{record.data.uid}" aria-selected="{f:if(condition: '{activeTab} == {record.data.uid}',then: 'true', else: 'false')}">
<span>{record.data.header}</span>
</button>
</f:for>
</div>
</nav>
</div>



Expand Down

0 comments on commit 0ae2c79

Please sign in to comment.