<section class="vehicle-main vehicle-main-{{ifThen isPlayMode 'play' 'edit'}}">

  <fieldset>
    <legend>{{localize "HELLBORN.Label.vehicle"}}</legend>
    <div class="vehicle-pc vehicle-pc-{{ifThen isPlayMode 'play' 'edit'}}">
      <div class="vehicle-left">
        <div class="vehicle-left-image">
          <img class="vehicle-img" src="{{actor.img}}" data-edit="img" data-action="editImage"
            data-tooltip="{{actor.name}}" />
        </div>
        <fieldset>
          <legend>{{localize "HELLBORN.Label.Agility"}}</legend>
          <div class="flexrow">
            {{formField systemFields.agility value=system.agility localize=true}}
          </div>
        </fieldset>

      </div>

      <div class="vehicle-right">
        <div class="vehicle-name">
          {{formInput fields.name value=source.name rootId=partId disabled=isPlayMode}}
          <a class="control" data-action="toggleSheet" data-tooltip="HELLBORN.ToggleSheet"
            data-tooltip-direction="UP">
            <i class="fa-solid fa-user-{{ifThen isPlayMode 'lock' 'pen'}}"></i>
          </a>
        </div>

        <fieldset class="capacity ">
          <legend>{{localize "HELLBORN.Label.capacity"}}</legend>
          <div class="flexrow">
            {{formField systemFields.armor value=system.armor localize=true}}
            {{formField systemFields.force value=system.force localize=true}}
          </div>
          <div class="flexrow">
            {{formField systemFields.range value=system.range localize=true}}
            {{formField systemFields.speed value=system.speed localize=true}}
          </div>
        </fieldset>

        <fieldset class="cargo">
          <legend>{{localize "HELLBORN.Label.cargo"}}</legend>
          <div class="flexrow">
            {{formField systemFields.crew value=system.crew localize=true}}
            {{formField systemFields.cargo value=system.cargo localize=true}}
            {{formField systemFields.tonnage value=system.tonnage localize=true}}
          </div>
        </fieldset>

      </div>
    </div>
  </fieldset>

</section>