<ol class="items-list">
  <li class="item flexrow items-header">
    <div class="item-name" style="flex:4;">{{ localize 'IDENTITY.name'}}</div>
    <div class="item-ranges" style="flex:2;">{{ localize 'VERMINE.ranges'}}</div>
    <div class="item-damages" style="flex:2;">{{ localize 'VERMINE.dmg'}}</div>
    <div class="item-ammo" style="flex:1;">{{ localize 'VERMINE.ammo_sm'}}</div>
    <div class="item-rarity" style="flex:1;">{{ localize 'VERMINE.rarity_sm'}}</div>
    <div class="item-reliability" style="flex:1;">{{ localize 'VERMINE.reliability_sm'}}</div>
    <div class="item-controls">
      <a class="item-control item-create" title="Create item"
        data-type="weapon" data-action="create"><i class="fas fa-plus"></i></a>
      <a style="visibility:hidden;" aria-hidden="true"><i class="fas fa-circle"></i></a>
      <a style="visibility:hidden;" aria-hidden="true"><i class="fas fa-trash"></i></a>
      <a style="visibility:hidden;" aria-hidden="true"><i class="fas fa-edit"></i></a>
    </div>
  </li>
  {{#each weapons as |item id|}}
  <li class="item flexrow  flex-group-center align-center"
    data-item-id="{{item._id}}">
    <div class="item-name flexrow" style="flex:4;">
      <div class="item-image">
        <a data-action="roll"><img
            src="{{item.img}}" title="{{item.name}}" width="24"
            height="24" /></a>
      </div>
      <a data-action="roll">{{item.name}}</a>
    </div>
    <div style="flex:2;"><a data-action="edit" title="Edit Item">{{item.system.min_range}} /
        {{item.system.max_range}}</a></div>
    <div style="flex:2;"><a data-action="edit" title="Edit Item">
        {{#if item.system.damage.addVigor}}
        vigueur+
        {{/if}}
        {{item.system.damage.value}}
        ({{item.system.damage.type}})
      </a></div>
    <div style="flex:1;"><a data-action="edit" title="Edit Item">{{item.system.ammo}}</a></div>
    <div style="flex:1;"><a data-action="edit" title="Edit Item">{{item.system.rarity.value}}</a></div>
    <div style="flex:1;"><a data-action="edit" title="Edit Item">{{item.system.reliability}}</a></div>
    <div class="item-controls">
      <a data-action="toggleEquip" data-item-id="{{item._id}}"
        title="{{#if item.system.equipped}}{{ localize 'VERMINE.unequip'}}{{else}}{{ localize 'VERMINE.equip'}}{{/if}}"><i
          class="fas {{#if item.system.equipped}}fa-circle-check{{else}}fa-circle{{/if}}"></i></a>
      <a data-action="delete" title="Delete Item"><i
          class="fas fa-trash"></i></a>
      <a data-action="edit" title="Edit Item"><i
          class="fas fa-edit"></i></a>
      <a data-action="attack" title="{{ localize 'VERMINE.attack' }}"><i
          class="fas fa-crosshairs"></i></a>
    </div>
  </li>
  {{/each}}
</ol>