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

      <li class="flexrow"><label class="item-field-label-long">Type Modifier</label>
        <select class="item-field-label-long" type="text" name="system.typemodifier" value="{{system.typemodifier}}" data-dtype="String">
          {{#select (lower system.typemodifier)}}
            {{#each config.powerTypeModifiers as |name key|}}
              <option value="{{key}}">{{name}}</option>
            {{/each}}
          {{/select}}
        </select> 
      </li>

      {{#if (eq (lower system.typemodifier) "attack")}}
      <li class="flexrow"><label class="item-field-label-long">Attack Roll Uses OCV or OMCV</label>
        <select class="item-field-label-long" type="text" name="system.attackvalue" value="{{system.attackvalue}}" data-dtype="String">
          {{#select system.attackvalue}}
            {{#each config.attackTypes as |name key|}}
              <option value="{{key}}">{{name}}</option>
            {{/each}}
          {{/select}}
        </select> 
      </li>
      {{/if}}

      <li class="flexrow"><label class="item-field-label-long">Is sense affecting ?</label>
        <label class="item-field-label-medium"><input type="checkbox" name="system.senseaffecting" {{checked system.senseaffecting}}/></label>
      </li>

      {{#if (and (ne system.subtype "armor") (ne system.subtype "shield"))}}
      <li class="flexrow"><label class="item-field-label-long">Range</label>
        <input type="text" class="item-field-label-medium" name="system.range" value="{{system.range}}" data-dtype="String"/>
      </li>
      <li class="flexrow"><label class="item-field-label-long">Damage</label>
        <input type="text" class="item-field-label-medium" name="system.damage" value="{{system.damage}}" data-dtype="String"/>
      </li>
      {{/if}}

      <li class="flexrow"><label class="item-field-label-long">Endurance</label>
        <input type="text" class="item-field-label-short" name="system.endurance" value="{{system.endurance}}" data-dtype="Number"/>
      </li>

      <li class="flexrow"><label class="item-field-label-long">Has Charges ?</label>
        <label class="item-field-label-medium"><input type="checkbox" name="system.hascharges" {{checked system.hascharges}}/></label>
      </li>
      {{#if system.hascharges}}
      <li class="flexrow"><label class="item-field-label-long">Number of Charges</label>
        <input type="text" class="item-field-label-short" name="system.nbcharges" value="{{system.nbcharges}}" data-dtype="Number"/>
      </li>
      {{/if}}

      {{#if quantityDone}}
      {{else}}
      <li class="flexrow"><label class="item-field-label-long">Quantity</label>
        <input type="text" class="item-field-label-short" name="system.quantity" value="{{system.quantity}}" data-dtype="Number"/>
      </li>
      {{/if}}
