mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
c65b980ada
closes TryGhost/Team#2086
14 lines
349 B
Handlebars
14 lines
349 B
Handlebars
<button
|
|
class="tab {{if this.isSelectedTab "tab-selected" }}"
|
|
id="{{this.id}}"
|
|
type="button"
|
|
role="tab"
|
|
aria-selected="{{this.isSelectedTab}}"
|
|
aria-controls="{{this.id}}-panel"
|
|
tabindex="{{if this.isSelectedTab "0" "-1"}}"
|
|
{{on "click" this.handleClick}}
|
|
{{on "keyup" this.handleKeyup}}
|
|
>
|
|
{{yield}}
|
|
</button>
|