<section>
  <header class="sheet-header">
    <div class="sheet-header-row">
      <img class="profile-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
      <div class="header-fields">
        <h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name" /></h1>
        {{#if isBrut}}
        <span>
          {{#if options.isOwned}}
          <a class="preparer-nourriture" data-tooltip="Cuisiner"><i class="fa-solid fa-fire"></i> Cuisiner</a>
          <a class="manger-nourriture" data-tooltip="Manger cru"><i class="fa-solid fa-drumstick-bite"></i> Manger cru</a>
          {{/if}}
        </span>
        {{/if}}
      </div>
    </div>
  </header>
  <div class="sheet-body">
    <div class="form-group">
      <label>Catégorie</label>
      <div class="form-fields">
        <select name="system.categorie" data-dtype="String">
          {{#select system.categorie}}
          {{> "systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.hbs"}}
          {{/select}}
        </select>
      </div>
    </div>
    {{#if isBrut}}
    {{>"systems/foundryvtt-reve-de-dragon/templates/sheets/item/common/template-comestible.hbs"}}
    {{else}}
    <div class="form-group">
      <label>Niveau</label>
      <div class="form-fields">
        <input name="system.niveau" type="number" value="{{system.niveau}}" />
      </div>
    </div>
    <div class="form-group">
      <label>Base</label>
      <div class="form-fields">
        <input name="system.base" type="number" value="{{system.base}}" />
      </div>
    </div>
    {{/if}}
  {{>"systems/foundryvtt-reve-de-dragon/templates/sheets/item/common/template-inventaire.hbs"}}
  {{>"systems/foundryvtt-reve-de-dragon/templates/sheets/item/common/template-description.hbs"}}
  </div>
</section>
