<section>
  <div class="item-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="item-body">
    <div class="form-group">
      <label>{{localize "AWEMMY.Weapon.AttackAttribute"}}</label>
      {{formField systemFields.attackAttribute value=system.attackAttribute localize=true}}
    </div>
    <div class="form-group">
      <label>{{localize "AWEMMY.Weapon.Damage"}}</label>
      {{formInput systemFields.damageFormula value=system.damageFormula}}
    </div>
    <div class="form-group">
      <label>{{localize "AWEMMY.Weapon.DamageType"}}</label>
      {{formInput systemFields.damageType value=system.damageType}}
    </div>
    <div class="form-group">
      <label>{{localize "AWEMMY.Weapon.Range"}}</label>
      {{formInput systemFields.range value=system.range}}
    </div>
    <div class="form-group">
      <label>{{localize "AWEMMY.Ability.Traits"}}</label>
      <div class="tags-list">
        {{#each system.traits}}
        <span class="tag">{{this}} <a data-action="removeTrait" data-index="{{@index}}">×</a></span>
        {{/each}}
        <input type="text" class="new-tag" data-action="addTrait" placeholder="{{localize 'AWEMMY.Ability.AddTrait'}}" />
      </div>
    </div>
  </div>
  <fieldset>
    <legend>Description</legend>
    {{formInput
      systemFields.description
      enriched=enrichedDescription
      value=system.description
      name="system.description"
      toggled=true
    }}
  </fieldset>
</section>
