<div class="attributes flexrow">
  {{#each attributes as |attribute id|}}
  {{#if (ne id "appeal")}}
  <div class="attribute stat flex1 flex-group-center {{key}}">
    <label class="stat-label"><a class="rollable" data-roll-type="attribute" data-roll="2d6+@attributes.{{key}}.value"
        data-adv="0" data-key="{{key}}">{{localize label}}</a></label><br />
    <input class="stat-value rounded" type="number" name="system.attributes.{{key}}.value"
      value="{{numberFormat value decimals=0 sign=false}}" /><br />
    <span class="stat-roll rollable" title="2d6" data-roll-type="attribute" data-roll="2d6+@attributes.{{key}}.value"
      data-adv="0" data-key="{{key}}">
      <i class="darkgreen fas fa-dice"></i>
    </span>
  </div>
  {{/if}}
  {{/each}}
</div>
<hr />
<div class="aptitudes flexrow">
  <div class="aptitude stat flex1 flex-group-center">
    <div class="">
      <label class="stat-label">
        <a class="rollable" data-roll-type="aptitude" data-roll="2d6+@aptitudes.def.value" data-adv="0" data-key="def">
          {{localize "BOL.aptitudes.def"}}
        </a>
      </label>
      <br />
      <input class="stat-value rounded-border" type="number" name="system.aptitudes.def.value"
        value="{{numberFormat aptitudes.3.value decimals=0 sign=false}}" /><br />
      <span class="stat-roll rollable" title="2d6" data-roll-type="aptitude" data-roll="2d6+@aptitudes.def.value"
        data-adv="0" data-key="def">
        <i class="darkgreen fas fa-dice"></i>
      </span>
    </div>
  </div>
  <div class="resource stat flex1 flex-group-center">
    <label class="stat-label">{{localize "BOL.resources.hp"}}</label><br />
    <input class="stat-value resources-value" type="number" name="system.resources.hp.value"
      value="{{system.resources.hp.value}}" />
    <input class="resources-value" type="number" name="system.resources.hp.max"
      value="{{system.resources.hp.max}}" />
  </div>
  <div class="resource stat flex1 flex-group-center">
    <label class="stat-label">{{localize "BOL.resources.villainy"}}</label><br />
    <input class="stat-value resources-value" type="number" name="system.resources.hero.value"
      value="{{system.resources.hero.value}}" />
    <input class="resources-value" type="number" name="system.resources.hero.max"
      value="{{system.resources.hero.max}}" />
  </div>
</div>
<hr />