<div class="item-sheet armure">
  <header class="item-header">
    <div class="item-portrait" data-action="editImage">
      <img src="{{item.img}}" alt="{{item.name}}">
    </div>
    <div class="item-header-fields">
      <input type="text" name="name" value="{{item.name}}" {{#unless isEditable}}disabled{{/unless}}>
    </div>
  </header>

  <div class="anomaly-body">
    <div class="armure-stats">
      <div class="armure-stat-box">
        <label>{{localize "CELESTOPOL.Armure.protection"}}</label>
        <div class="armure-stat-value">
          {{#if isEditable}}
          <input type="number" name="system.protection" value="{{system.protection}}" min="1" max="2">
          {{else}}
          <span>{{system.protection}}</span>
          {{/if}}
        </div>
        <div class="armure-stat-hint">{{localize "CELESTOPOL.Armure.protectionHint"}}</div>
      </div>
      <div class="armure-stat-box">
        <label>{{localize "CELESTOPOL.Armure.malus"}}</label>
        <div class="armure-stat-value">
          {{#if isEditable}}
          <input type="number" name="system.malus" value="{{system.malus}}" min="0" max="2">
          {{else}}
          <span>{{system.malus}}</span>
          {{/if}}
        </div>
        <div class="armure-stat-hint">{{localize "CELESTOPOL.Armure.malusHint"}}</div>
      </div>
    </div>
    <div class="anomaly-section">
      <div class="anomaly-section-title">{{localize "CELESTOPOL.Actor.description"}}</div>
      <div class="anomaly-editor-wrap">
        {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
      </div>
    </div>
  </div>
</div>
