t="#{{ printf "%s-%d" $group $index }}" type="button" role="tab" aria-controls="{{ printf "%s-%d" $group $index }}" aria-selected="true">
    {{ $tab.Name -}}
    </button>
    {{ end -}}
  </div>
</nav>

<div class="tab-content" id="nav-tabContent">
  {{ range $index, $tab := .Scratch.Get $group -}}
  <div data-env-pane="{{ replace ($tab.Name | lower) " " "-" }}" class="tab-pane fade{{ if not $index }} show active{{ end }}" id="{{ printf "%s-%d" $group $index }}" role="tabpanel" aria-labelledby="{{ printf 