<form class="{{cssClass}}" autocomplete="off">
    <header class="sheet-header">
        <img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
        <div class="header-fields">
            <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
        </div>
    </header>

    {{> systems/fvtt-hero-system-6/templates/partials/partial-item-nav.hbs}}

    {{!-- Sheet Body --}}
    <section class="sheet-body">

      {{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}

      <div class="tab details" data-group="primary" data-tab="details">

        <ul>
          
          <li class="flexrow"><label class="item-field-label-long">Type</label>
            <select class="item-field-label-long" type="text" name="system.maneuvertype" value="{{system.maneuvertype}}" data-dtype="String">
              {{#select system.maneuvertype}}
                {{#each config.maneuverTypes as |name key|}}
                  <option value="{{key}}">{{name}}</option>
                {{/each}}
              {{/select}}
            </select> 
          </li>

          {{> systems/fvtt-hero-system-6/templates/partials/partial-power-maneuver-effect.hbs}}
          
          <li class="flexrow"><label class="item-field-label-medium">Is stock ?</label>
            <label class="item-field-label-medium"><input type="checkbox" name="system.isstock" {{checked system.isstock}}/></label>
          </li>

          <li class="flexrow"><label class="item-field-label-medium">PHA</label>
            <input type="text" class="item-field-label-medium" name="system.pha" value="{{system.pha}}" data-dtype="String"/>
          </li>

          {{#if (eq system.maneuvertype "mental")}}
          <li class="flexrow"><label class="item-field-label-medium">OMCV</label>
            <input type="text" class="item-field-label-medium" name="system.omcv" value="{{system.omcv}}" data-dtype="String"/>
          </li>
          <li class="flexrow"><label class="item-field-label-medium">DMCV</label>
            <input type="text" class="item-field-label-medium" name="system.dmcv" value="{{system.dmcv}}" data-dtype="String"/>
          </li>
          {{else}}
          <li class="flexrow"><label class="item-field-label-medium">OCV</label>
            <input type="text" class="item-field-label-medium" name="system.ocv" value="{{system.ocv}}" data-dtype="String"/>
          </li>
          <li class="flexrow"><label class="item-field-label-medium">DCV</label>
            <input type="text" class="item-field-label-medium" name="system.dcv" value="{{system.dcv}}" data-dtype="String"/>
          </li>
           {{/if}}
          <li class="flexrow"><label class="item-field-label-medium">Effects</label>
            <input type="text" class="item-field-label-long" name="system.effects" value="{{system.effects}}" data-dtype="String"/>
          </li>

          {{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}

        </ul>
      </div>

      {{> systems/fvtt-hero-system-6/templates/partials/partial-item-notes.hbs}}

    </section>
</form>
