{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher

SPDX-License-Identifier: MIT
--}}

<form class="{{cssClass}} ds4-sheet-form" autocomplete="off">
    {{!-- Header --}}
    {{> systems/ds4/templates/sheets/item/components/item-header.hbs}}

    {{!-- Sheet Tab Navigation --}}
    <nav class="ds4-sheet-tab-nav tabs" data-group="primary">
        <a class="ds4-sheet-tab-nav__item" data-tab="description">{{localize 'DS4.HeadingDescription'}}</a>
        <a class="ds4-sheet-tab-nav__item" data-tab="properties">{{localize 'DS4.HeadingProperties'}}</a>
        <a class="ds4-sheet-tab-nav__item" data-tab="effects">{{localize 'DS4.HeadingEffects'}}</a>
    </nav>

    {{!-- Sheet Body --}}
    <section class="ds4-sheet-body">
        {{!-- Description Tab --}}
        {{> systems/ds4/templates/sheets/item/tabs/description.hbs}}

        {{!-- Properties Tab --}}
        {{#> systems/ds4/templates/sheets/item/tabs/properties.hbs}}
        {{> systems/ds4/templates/sheets/item/components/properties/weapon.hbs}}
        {{#if isOwned}}
        {{> systems/ds4/templates/sheets/item/components/properties/equipable.hbs}}
        {{/if}}
        {{> systems/ds4/templates/sheets/item/components/properties/physical.hbs}}
        {{/systems/ds4/templates/sheets/item/tabs/properties.hbs}}

        {{!-- Effects Tab --}}
        {{> systems/ds4/templates/sheets/item/tabs/effects.hbs}}
    </section>
</form>