<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>  
  {{formField systemFields.category value=system.category localize=true}}
  {{formField systemFields.base value=system.base}}
  {{formField systemFields.bonus value=system.bonus}}

  {{formField systemFields.classesCost.fields.fighter value=system.classesCost.fighter}}
  {{formField systemFields.classesCost.fields.rogue value=system.classesCost.rogue}}
  {{formField systemFields.classesCost.fields.ranger value=system.classesCost.ranger}}
  {{formField systemFields.classesCost.fields.cleric value=system.classesCost.cleric}}
  {{formField systemFields.classesCost.fields.magicuser value=system.classesCost.magicuser}}
  
  {{#if (eq system.category "weapon")}}
    {{formField systemFields.weaponClass value=system.weaponClass localize=true}}
    <span class="flexrow">
      <span><strong>Available Bonus : {{system.availableBonus}}</strong></span>
    </span>
    {{formField systemFields.weaponBonus.fields.attack value=system.weaponBonus.attack}}
    {{formField systemFields.weaponBonus.fields.defense value=system.weaponBonus.defense}}
    {{formField systemFields.weaponBonus.fields.damage value=system.weaponBonus.damage}}
  {{/if}}
  
  <div class="total flexrow">
    <legend>{{localize "LETHALFANTASY.Label.total"}}</legend>
    {{system.skillTotal}}
  </div>

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

</section>