<div class="item-sheet equipment">
  <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 class="item-meta">
        <select name="system.subtype" {{#unless isEditable}}disabled{{/unless}}>
          {{#each equipmentTypes as |etype key|}}
          <option value="{{key}}" {{#if (eq key ../system.subtype)}}selected{{/if}}>{{localize etype.label}}</option>
          {{/each}}
        </select>
        <div class="item-qty">
          <label>{{localize "CELESTOPOL.Item.quantity"}}</label>
          <input type="number" name="system.quantity" value="{{system.quantity}}" min="0"
                 {{#unless isEditable}}disabled{{/unless}}>
        </div>
      </div>
    </div>
  </header>

  <div class="equipment-stats">
    <div class="form-group">
      <label>{{localize "CELESTOPOL.Item.damage"}}</label>
      <input type="text" name="system.damage" value="{{system.damage}}" {{#unless isEditable}}disabled{{/unless}}>
    </div>
    <div class="form-group">
      <label>{{localize "CELESTOPOL.Item.range"}}</label>
      <input type="text" name="system.range" value="{{system.range}}" {{#unless isEditable}}disabled{{/unless}}>
    </div>
    <div class="form-group">
      <label>{{localize "CELESTOPOL.Item.protection"}}</label>
      <input type="text" name="system.protection" value="{{system.protection}}" {{#unless isEditable}}disabled{{/unless}}>
    </div>
    <div class="form-group">
      <label>{{localize "CELESTOPOL.Item.speed"}}</label>
      <input type="text" name="system.speed" value="{{system.speed}}" {{#unless isEditable}}disabled{{/unless}}>
    </div>
    <div class="form-group">
      <label>{{localize "CELESTOPOL.Item.crew"}}</label>
      <input type="text" name="system.crew" value="{{system.crew}}" {{#unless isEditable}}disabled{{/unless}}>
    </div>
    <div class="form-group">
      <label>{{localize "CELESTOPOL.Item.weight"}}</label>
      <input type="number" name="system.weight" value="{{system.weight}}" min="0"
             {{#unless isEditable}}disabled{{/unless}}>
    </div>
  </div>

  <div class="form-group description-group">
    {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
  </div>
</div>
