<section class='tab {{tabs.features.cssClass}} {{tabs.features.id}}' data-tab='{{tabs.features.id}}'
    data-group='{{tabs.features.group}}'>
    <div class="features-sections">
        {{#each document.system.sheetLists as |category|}}
            {{#if (eq category.type 'feature' )}}
                {{> 'daggerheart.inventory-items'
                    title=category.title
                    type='feature'
                    actorType='character'
                    collection=category.values
                    canCreate=@root.editable
                    showActions=@root.editable
                }}
                {{else if category.values}}
                {{> 'daggerheart.inventory-items'
                    title=category.title
                    type='feature'
                    actorType='character'
                    collection=category.values
                    canCreate=false
                    showActions=@root.editable
                }}
            {{/if}}
        {{/each}}
    </div>
</section>