@if (!_showAccordion) { @for (tab of tabs; track tab; let i = $index) { }
@for (tab of tabs; track tab; let i = $index) { }
} @if (_showAccordion) { @for (tab of tabs; track tab; let i = $index) { @if (tab.templateLabel) { } @if (!tab.templateLabel) { {{tab.label}} } } }