{{#if isEnchantementPossible}}
  <div class="form-group">
    <label for="system.magique">Magique {{#if system.magique}}<i class="fa-solid fa-sparkles"></i>{{/if}}</label>
    <input class="attribute-value" type="checkbox" name="system.magique" {{#if system.magique}}checked{{/if}}/>
    <label></label>
  </div>
  {{#if system.magique}}
    <div class="form-group">
      <label for="system.pr">Points de rêve</label>
      <input name="system.pr" class="attribute-value" type="number" data-dtype="Number" value="{{system.pr}}" min="0" max="777"/>
    </div>
    <div class="form-group">
      <label for="system.purifie">Purifiée</label>
      <input name="system.purifie" class="attribute-value" type="checkbox" {{#if system.purifie}}checked{{/if}}/>
      <label></label>
    </div>
    <div class="form-group">
      <label for="system.prpermanent">Permanente</label>
      <input name="system.prpermanent" class="attribute-value" type="checkbox" {{#if system.prpermanent}}checked{{/if}}/>
      <label></label>
    </div>
    <div class="form-group">
      <label for="enchantement.jour">Date de l'Enchantement : Jour/Mois (date actuelle : {{dateActuelle}})</label>
    </div>
    <div class="form-group">
      <input name="enchantement.jour" class="date-enchantement" type="number" data-dtype="Number" value="{{enchantement.jour}}" min="1" max="28"/>
      <select name="enchantement.mois" class="date-enchantement" data-dtype="String">
          {{#select enchantement.mois}}
          {{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.hbs"}}
          {{/select}}
        </select>
    </div>
  {{/if}}
{{/if}}
