<section class="item-sheet-common">
  <div class="header">
    <img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
    {{formInput fields.name value=source.name}}
  </div>
  <div class="flexrow">
    <div class="align-top">
      {{formField systemFields.itemType value=system.itemType name="system.itemType" localize=true}}
      {{formField systemFields.quantity value=system.quantity name="system.quantity"}}
      {{formField systemFields.slots value=system.slots name="system.slots"}}
      {{formField systemFields.rarity value=system.rarity name="system.rarity" localize=true}}
      <a data-action="rollRarity" class="rarity-roll-btn" data-tooltip="{{localize 'OATHHAMMER.Roll.RarityCheck'}}"><i class="fa-solid fa-dice"></i> {{localize "OATHHAMMER.Roll.RarityCheck"}}</a>
      {{#if system.lightRadius}}
      {{formField systemFields.lightRadius value=system.lightRadius name="system.lightRadius"}}
      {{/if}}
    </div>
    <div class="align-top">
      {{formField systemFields.cost value=system.cost name="system.cost"}}
      {{formField systemFields.currency value=system.currency name="system.currency" localize=true}}
    </div>
  </div>
  <fieldset>
    <legend>{{localize "OATHHAMMER.Label.Description"}}</legend>
    {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
  </fieldset>
</section>
