<hr />

<div class="resources flexrow">
  {{#each system.attributes as |attr key|}}
  <div class="resource stat flex1 flex-group-center">
    <label class="stat-label">{{localize attr.label}}</label><br />
    <input class="stat-value resources-value" type="number" name="system.attributes.{{key}}.value"
      value="{{attr.value}}" />
    <input class="resources-value" type="number" name="system.attributes.{{key}}.max"
      value="{{attr.max}}" />
  </div>
  {{/each}}

  {{#if (eq system.vehicletype "boat")}}
  <div class="resource stat flex1 flex-group-center">
    <label class="stat-label">{{localize system.row.label}}</label><br />
    <input class="stat-value resources-value" type="number" name="system.row.value"
      value="{{system.row.value}}" />
    <input class="resources-value" type="number" name="system.row.max"
      value="{{system.row.max}}" />
  </div>
  {{/if}}

</div>