You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui-v2/app/templates/components/tab-nav.hbs

11 lines
409 B

{{!<nav role="tablist">}}
<ul>
{{#each items as |item|}}
<li class={{if (eq selected (slugify item)) 'selected' }}>
<label for="radiogroup_{{name}}_{{slugify item}}" data-test-radiobutton="{{name}}_{{slugify item}}" role="tab" aria-controls="radiogroup_{{name}}_{{slugify item}}_panel">
<a>{{item}}</a>
</label>
</li>
{{/each}}
</ul>
{{!</nav>}}