<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-pegasus-rpg/templates/partial-item-nav.html}}

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

    {{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}}

    <div class="tab details" data-group="primary" data-tab="details">
      <ul>
          <li class="flexrow"><label class="generic-label">Vehicle category</label>
            <select class="competence-base flexrow" type="text" name="system.vehiclecategory" value="{{data.vehiclecategory}}" data-dtype="String">
              {{#select data.vehiclecategory}}
              <option value="wheeled">Wheeled</option>
              <option value="walker">Walker</option>
              <option value="aircraft">Aircraft</option>
              <option value="starship">Starship</option>
              <option value="vtol">VTOL</option>
              <option value="poweredboat">Powered Boat</option>
              <option value="sailboat">Sail/Oar Boat</option>
              <option value="submersibme">Submersible</option>
              {{/select}}
            </select> 
          </li>

          <li class="flexrow"><label class="generic-label">Quality</label>
            <select class="competence-base flexrow" type="text" name="system.quality" value="{{data.quality}}" data-dtype="String">
              {{#select data.quality}}
              <option value="poor">Poor</option>
              <option value="standard">Standard</option>
              <option value="luxury">Luxury</option>
              <option value="superior">Superior</option>
              <option value="oars">Oars</option>
              <option value="Poorsails">Poor sails</option>
              <option value="luxurysails">Luxury Sails</option>
              <option value="oarspoorsails">Oars & Poor Sails</option>
              <option value="oarsluxurysails">Oars & Luxury Sails</option>
              {{/select}}
            </select> 
          </li>

          <li class="flexrow"><label class="generic-label">MR</label>
            <select class="competence-base flexrow" type="text" name="system.mr" value="{{data.mr}}" data-dtype="String">
              {{#select data.mr}}
              {{{optionsDiceList}}}
              {{/select}}
            </select>           
          </li>          
          
          <li class="flexrow"><label class="generic-label">MAN : Apply as negative  ?</label>
            <label class="attribute-value checkbox"><input type="checkbox" name="system.negativeman" {{checked data.negativeman}}/></label>
          </li>

          <li class="flexrow"><label class="generic-label">MAN</label>
            <select class="competence-base flexrow" type="text" name="system.man" value="{{data.man}}" data-dtype="String">
              {{#select data.man}}
              {{{optionsDiceList}}}
              {{/select}}
            </select>           
          </li>          

          <li class="flexrow"><label class="generic-label">Top speed - Front</label>
            <select class="competence-base flexrow" type="text" name="system.ts_f" value="{{data.ts_f}}" data-dtype="String">
              {{#select data.ts_f}}
              {{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
              {{/select}}
            </select> 
          </li>

          <li class="flexrow"><label class="generic-label">Top speed - Left/Tight/Top/Bottom</label>
            <select class="competence-base flexrow" type="text" name="system.ts_s" value="{{data.ts_s}}" data-dtype="String">
              {{#select data.ts_s}}
              {{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
              {{/select}}
            </select> 
          </li>

          <li class="flexrow"><label class="generic-label">Top speed - Rear</label>
            <select class="competence-base flexrow" type="text" name="system.ts_r" value="{{data.ts_r}}" data-dtype="String">
              {{#select data.ts_r}}
              {{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
              {{/select}}
            </select> 
          </li>
          <li class="flexrow"><label class="generic-label">Space</label>
            <input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
          </li>

          <li class="flexrow"><label class="generic-label">Cost</label>
            <input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
          </li>


      </ul>
    </div>

  </section>
</form>
