<form class="{{cssClass}}" autocomplete="off">
  <header class="sheet-header">
    <img class="profile-img" src="{{img}}" data-edit="img" data-tooltip="{{name}}" />
    <div class="header-fields">
      <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
      <span>
        {{#if options.isOwned}}
        <a class="item-potion-consommer chat-card-button" data-actor-id="{{actorId}}" data-tooltip="Consommer cette potion et appliquer ses effets">Consommer</a>
        {{/if}}  
        {{#if isEnchantementPossible}}
        <a class="item-enchanter chat-card-button" data-actor-id="{{actorId}}" data-tooltip="Enchanter cette potion">Enchanter</a>
        {{/if}}
      </span>
    </div>
  </header>

  <nav class="sheet-tabs tabs" data-group="primary">
    <a class="item" data-tab="informations">Informations</a>
    {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-tab-environnement.hbs"}}
  </nav>
  <section class="sheet-body">
    <div class="tab items flexcol" data-group="primary" data-tab="informations">
      <div class="form-group">
        <label for="system.rarete">Fréquence</label>
        <select name="system.rarete" class="rarete" data-dtype="String">
          {{#select system.rarete}}
          <option value=""></option>
          {{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.hbs"}}
          {{/select}}
        </select>
      </div>
      <div class="form-group">
        <label for="system.categorie">Catégorie</label>
        <select name="system.categorie" class="categoriepotion" data-dtype="String">
          {{#select system.categorie}}
          {{>"systems/foundryvtt-reve-de-dragon/templates/item/enum-categorie-alchimie.hbs" this}}
          {{/select}}
        </select>
      </div>
      <div class="form-group">
        <label for="system.etat">Etat / consistance</label>
        <select name="system.etat" class="etat" data-dtype="String">
          {{#select system.etat}}
          {{>"systems/foundryvtt-reve-de-dragon/templates/item/enum-etat-alchimie.hbs" this}}
          {{/select}}
        </select>
      </div>
      {{#if (or isSoins isRepos)}}
        <div class="form-group">
          <label for="system.herbe">Herbe</label>
          <select name="system.herbe" class="herbe" data-dtype="String">
            {{#if isSoins}}
            {{selectOptions herbesSoins selected=system.herbe localize=false}}
            {{/if}}
            {{#if isRepos}}
            {{selectOptions herbesRepos selected=system.herbe localize=false}}
            {{/if}}
          </select>
        </div>
        <div class="form-group">
          <label for="system.herbebrins">Nombre de brins</label>
          <input class="attribute-value" type="text" name="system.herbebrins" value="{{system.herbebrins}}" data-dtype="Number" />
        </div>
        <div class="form-group">
          <label for="system.herbebonus">Bonus</label>
          <input class="attribute-value" type="text" name="system.herbebonus" value="{{system.herbebonus}}" data-dtype="Number" />
        </div>
        {{#if isRepos}}
        <div class="form-group">
          <label for="system.reposalchimique">Repos Alchimique ?</label>
          <input class="attribute-value" type="checkbox" name="system.reposalchimique" {{#if system.reposalchimique}}checked{{/if}}/>
        </div>
        {{/if}}
      {{/if}}
      {{#if system.magique}}
        <div class="form-group">
          {{#if isSoins}}
          <label>Points de guérison</label>
          {{else if isRepos}}
          <label>Points de repos</label>
          {{else}}
          <label>Puissance</label>
          {{/if}}
          <input class="attribute-value" type="text" name="system.puissance" value="{{system.puissance}}" disabled />
        </div>
      {{/if}}
      {{>'systems/foundryvtt-reve-de-dragon/templates/enchantement/partial-enchantement.hbs'}}
      {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.hbs"}}
      {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.hbs"}}
    </div>
    {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.hbs"}}
  </section>

</form>