mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
23 lines
No EOL
840 B
Handlebars
23 lines
No EOL
840 B
Handlebars
<section
|
|
class='tab {{tabs.features.cssClass}} {{tabs.features.id}}'
|
|
data-tab='{{tabs.features.id}}'
|
|
data-group='{{tabs.features.group}}'
|
|
>
|
|
<div class="feature-section">
|
|
{{#each @root.features as |item|}}
|
|
{{> 'daggerheart.inventory-item'
|
|
item=item
|
|
type='feature'
|
|
actorType=@root.document.type
|
|
hideContextMenu=true
|
|
hideModifyControls=true
|
|
showActions=@root.editable
|
|
}}
|
|
{{/each}}
|
|
</div>
|
|
{{#if @root.editable}}
|
|
<button data-action="createDoc" data-document-class="Item" data-type="feature" data-tooltip="{{localize 'DOCUMENT.Create' type=(localize 'TYPES.Item.feature')}}">
|
|
<i class="fa-solid fa-plus icon-button"></i>
|
|
</button>
|
|
{{/if}}
|
|
</section> |