<form class="{{cssClass}} {{item.type}} item_v2" autocomplete="off">
  <header class="item-sheet-header">
    {{PARTIAL "Header"}}
  </header>

  {{!-- Tooltip --}}
  {{PARTIAL "Tooltip"}}

  <nav class="sheet-tabs tabs" data-group="primary">
    <a class="item" data-tab="description"><span>{{localize 'dc20rpg.item.sheet.description'}}</span></a>
    <a class="item" data-tab="config"><span>{{localize 'dc20rpg.item.sheet.config.tab'}}</span></a>
    <a class="item" data-tab="roll"><span>{{localize 'dc20rpg.item.sheet.roll'}}</span></a>
    <a class="item" data-tab="advanced"><span>{{localize 'dc20rpg.item.sheet.advanced'}}</span></a>
  </nav>

  <section class="item-sheet-body">
    <div class="tab description-tab content padding-7" data-group="primary" data-tab="description">
      <div class="description-box">
        {{editor enriched.description target="system.description" button=true editable=editable engine="prosemirror"}}
      </div>
    </div>

    <div class="tab config-tab content padding-7" data-group="primary" data-tab="config">
      <div class="row margin-top-5">
        <span>{{localize "dc20rpg.item.sheet.feature.featureType"}}</span>
        <select name="system.featureType">
          {{selectOptions @root.config.DROPDOWN_DATA.featureSourceTypes selected=system.featureType blank=""}}
        </select>
      </div>
      <div class="row margin-top-5">
        <span>{{localize "dc20rpg.item.sheet.feature.featureOrigin"}}</span>
        <input {{#if @root.featureSourceItems}}disabled{{/if}} type="text" name="system.featureOrigin" value="{{system.featureOrigin}}" placeholder="-">
      </div>
      {{#if @root.featureSourceItems}}
      <div class="row margin-top-5" title="{{localize "dc20rpg.item.sheet.feature.featureSourceItemTooltip"}}">
        <span>{{localize "dc20rpg.item.sheet.feature.featureSourceItem"}}</span>
        <select name="system.featureSourceItem">
          {{selectOptions @root.featureSourceItems selected=system.featureSourceItem blank=""}}
        </select>
      </div>
      {{/if}}
      <div class="row margin-top-5">
        <span>{{localize "dc20rpg.item.sheet.config.staminaFeature"}}</span>
        <a class="fa-lg activable {{#if system.staminaFeature}}fa-solid fa-square-check{{else}}fa-regular fa-square{{/if}}" data-path="system.staminaFeature"></a>
      </div>
      <div class="row margin-top-5">
        <span>{{localize "dc20rpg.item.sheet.config.flavorFeature"}}</span>
        <a class="fa-lg activable {{#if system.flavorFeature}}fa-solid fa-square-check{{else}}fa-regular fa-square{{/if}}" data-path="system.flavorFeature"></a>
      </div>
      <div class="row margin-top-5">
        <span>{{localize "dc20rpg.item.sheet.config.useWeapon"}}</span>
        <a class="fa-lg activable {{#if system.usesWeapon.weaponAttack}}fa-solid fa-square-check{{else}}fa-regular fa-square{{/if}}" data-path="system.usesWeapon.weaponAttack"></a>
      </div>
      {{PARTIAL "Basic Config"}}
    </div>

    {{PARTIAL "Roll"}}
    {{PARTIAL "Advanced"}}
  </section>
</form>