{{!-- Template pour les objets dans l'inventaire --}}
<div class="item-header flexrow">
  <div class="item-image">
    <img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/>
  </div>
  <h4 class="item-name">{{item.name}}</h4>
  
  {{#if item.system.quantity}}
  <div class="item-quantity">
    <input type="number" value="{{item.system.quantity}}" data-dtype="Number"/>
  </div>
  {{/if}}

  {{#if item.system.gridSpace}}
  <div class="item-size">
    {{item.system.gridSpace.width}}x{{item.system.gridSpace.height}}
  </div>
  {{/if}}

  {{#if item.system.tags}}
  <div class="item-tags">
    {{#each item.system.tags}}
    <span class="tag">{{this}}</span>
    {{/each}}
  </div>
  {{/if}}
      <div class='item-formula item-prop'>{{item.system.formula}}</div>
      <div class='item-controls'>
        <a
          class='item-control item-edit'
          title='{{localize "DOCUMENT.Update" type='Item'}}'
        >
          <i class='fas fa-edit'></i>
        </a>
        <a
          class='item-control item-delete'
          title='{{localize "DOCUMENT.Delete" type='Item'}}'
        >
          <i class='fas fa-trash'></i>
        </a>
      </div>
</div>