<section class="tab sheet-body {{tab.cssClass}}" data-tab="annency" data-group="primary">

  <div class="grid grid-2col">

    <div>
      <h3>{{localize "ECRY.ui.annency"}}</h3>
      <ul class="stat-list alternate-list item-list">
        <li class="item flexrow list-item">
          <span class="item-name-label-short">{{localize "ECRY.ui.iscollective"}}</span>
          <input type="checkbox" name="system.base.iscollective" {{checked system.base.iscollective}} />
          <span class="item-name-label-short">{{localize "ECRY.ui.ismultiple"}}</span>
          <input type="checkbox" name="system.base.ismultiple" {{checked system.base.ismultiple}} />
        </li>
      </ul>

      <h3>{{localize "ECRY.ui.characters"}}</h3>
      <ul class="stat-list alternate-list item-list">
        {{#each characters as |character id|}}
        <li class="item flexrow" data-actor-id="{{character.id}}">
          <img class="item-name-img" src="{{character.img}}" />
          <span class="item-name-label">{{character.name}}</span>
          <div class="item-filler">&nbsp;</div>
          <div class="item-controls item-controls-fixed">
            <a data-action="actorEdit" title="{{localize 'ECRY.ui.edit'}}"><i class="fas fa-edit"></i></a>
            <a data-action="actorDelete" title="{{localize 'ECRY.ui.delete'}}"><i class="fas fa-trash"></i></a>
          </div>
        </li>
        {{/each}}
      </ul>
    </div>

    <div>
      <h3>{{localize "ECRY.ui.location"}}</h3>
      <ul class="stat-list alternate-list item-list">
        {{#each system.base.location as |location index|}}
        <li class="item flexrow list-item">
          <span class="item-name-label-medium">{{localize "ECRY.ui.location"}} {{index}}</span>
          <textarea rows="3" name="system.base.location.{{index}}">{{location}}</textarea>
        </li>
        {{/each}}
        <li class="item flexrow list-item">
          <span class="item-name-label-medium">{{localize "ECRY.ui.enhancements"}}</span>
          <textarea rows="3" name="system.base.enhancements">{{system.base.enhancements}}</textarea>
        </li>
      </ul>
    </div>

  </div>

</section>
