<section class="tab feats feats-pane" data-group="primary" data-tab="feats">
    {{#each feats as |section|}}
        <section class="feat-section major" data-group-id="{{section.id}}">
            <header>
                {{localize section.label}}
                <button
                    type="button"
                    data-action="browse-feats"
                    data-type="feat"
                    data-filter="{{section.featFilter}},conjunction-or"
                >
                    <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
                </button>
            </header>
            <ol class="actions-list directory-list" data-foundry-list>
                {{#each section.feats as |featSlot|}}
                    {{> "systems/pf2e/templates/actors/character/partials/feat-slot.hbs" featSlot=featSlot featFilter=section.featFilter}}
                {{/each}}
            </ol>
        </section>
    {{/each}}
</section>
