<form spellcheck="false" autocomplete="off">
    <section class="sidebar">
        {{> "systems/pf2e/templates/actors/npc/partials/sidebar.hbs"}}
    </section>
    <div class="npc-body">
        {{> "systems/pf2e/templates/actors/npc/partials/header.hbs"}}
        <nav class="sheet-tabs tabs" data-group="primary">
            <a class="item" data-tab="main">{{localize "PF2E.NPC.MainTab"}}</a>
            <a class="item{{#if (not document.inventory.size)}} empty{{/if}}" data-tab="inventory">{{localize "PF2E.NPC.InventoryTab"}}</a>
            <a class="item{{#if (not document.isSpellcaster)}} empty{{/if}}" data-tab="spells">{{localize "PF2E.NPC.SpellsTab"}}</a>
            <a class="item {{#if (nor document.conditions.active.length document.itemTypes.effect.length)}} empty{{/if}}" data-tab="effects">{{localize "PF2E.NPC.EffectsTab"}}</a>
            <a class="item {{#if (nor data.details.publicNotes data.details.privateNotes)}} empty{{/if}}" data-tab="notes">{{localize "PF2E.NPC.NotesTab"}}</a>
        </nav>
        <section class="sheet-body">
            {{> "systems/pf2e/templates/actors/npc/tabs/main.hbs"}}
            {{> "systems/pf2e/templates/actors/npc/tabs/inventory.hbs"}}
            {{> "systems/pf2e/templates/actors/npc/tabs/spells.hbs"}}
            {{> "systems/pf2e/templates/actors/npc/tabs/effects.hbs"}}
            {{> "systems/pf2e/templates/actors/npc/tabs/notes.hbs"}}
        </section>
    </div>
</form>
