<section class="enemy-main enemy-main-{{ifThen isPlayMode 'play' 'edit'}}">
  <fieldset>
    <legend>{{localize "HAMALRON.Label.character"}}</legend>
    <div class="enemy-pc enemy-pc-{{ifThen isPlayMode 'play' 'edit'}}">
      <div class="enemy-left">
        <div class="enemy-left-image">
          <img class="enemy-img" src="{{actor.img}}" data-edit="img" data-action="editImage"
            data-tooltip="{{actor.name}}" />
        </div>

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

        <fieldset class="enemy-definition">
          {{formField systemFields.enemyType value=system.enemyType rootId=partId disabled=isPlayMode}}
        </fieldset>

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

</section>
