<section>
  <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>

  <fieldset>
    {{formField systemFields.settings value=system.settings localize=true}}
    {{formField systemFields.weaponType value=system.weaponType localize=true}}
    {{#if (eq system.weaponType "rangedfirearm")}}
    {{formField systemFields.weaponSubtype value=system.weaponSubtype localize=true}}
    {{/if}}

    {{formField systemFields.state value=system.state localize=true}}

    {{formField systemFields.hasDirectSkill value=system.hasDirectSkill }}
    {{#if system.hasDirectSkill}}
      {{formField systemFields.directSkillValue value=system.directSkillValue }}
    {{/if}}

    {{formField systemFields.damage value=system.damage}}
    {{formField systemFields.baseRange value=system.baseRange}}
    {{formField systemFields.rangeUnit value=system.rangeUnit localize=true}}
    {{formField systemFields.lethality value=system.lethality}}
    {{formField systemFields.killRadius value=system.killRadius}}

    {{formField systemFields.armorPiercing value=system.armorPiercing}}

    {{formField systemFields.resourceLevel value=system.resourceLevel}}
  </fieldset>

  <fieldset>
    <legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
    {{formInput
    systemFields.description
    enriched=enrichedDescription
    value=system.description
    name="system.description"
    toggled=true
    }}
  </fieldset>
</section>