<section class="mgne-sheet">
  <div class="sheet-header">
    <img class="item-portrait" src="{{item.img}}" data-edit="img" data-action="editImage" alt="{{item.name}}" />
    <div class="header-fields">
      <input type="text" name="name" value="{{source.name}}" />
    </div>
  </div>
  <div class="item-form-grid item-form-grid-three">
    <div class="item-form-row">
      <label>{{localize "MGNE.Common.Subtype"}}</label>
      <select name="system.subtype">
        {{#each selectOptions.equipmentSubtypes}}
          <option value="{{value}}" {{#if (isEqual ../source.system.subtype value)}}selected{{/if}}>{{label}}</option>
        {{/each}}
      </select>
    </div>
    <div class="item-form-row">
      <label>{{localize "MGNE.Common.Quantity"}}</label>
      <input type="number" name="system.quantity" value="{{source.system.quantity}}" />
    </div>
    <div class="item-form-row">
      <label>{{localize "MGNE.Common.UsageDie"}}</label>
      <select name="system.usageDie">
        {{#each selectOptions.usageDice}}
          <option value="{{value}}" {{#if (isEqual ../source.system.usageDie value)}}selected{{/if}}>{{label}}</option>
        {{/each}}
      </select>
    </div>
  </div>
  <div class="item-check-grid item-check-grid-three check-grid">
    <label><input type="checkbox" name="system.carried" {{#if source.system.carried}}checked{{/if}} /> {{localize "MGNE.Common.Carried"}}</label>
    <label><input type="checkbox" name="system.equipped" {{#if source.system.equipped}}checked{{/if}} /> {{localize "MGNE.Common.Equipped"}}</label>
    <label><input type="checkbox" name="system.consumable" {{#if source.system.consumable}}checked{{/if}} /> {{localize "MGNE.Common.Consumable"}}</label>
  </div>
  <div class="inventory-header">
    <h3>{{localize "MGNE.Common.Description"}}</h3>
  </div>
  <fieldset>
    {{formInput systemFields.description enriched=(lookup enrichedFields "description") value=system.description name="system.description" toggled=true}}
  </fieldset>
</section>
