{{#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 class="attribute-value" type="text" name="system.pr" value="{{system.pr}}" data-dtype="Number" />
    </div>
    <div class="form-group">
      <label for="system.purifie">Purifiée</label>
      <input class="attribute-value" type="checkbox" name="system.purifie"  {{#if system.purifie}}checked{{/if}}/>
      <label></label>
    </div>
    <div class="form-group">
      <label for="system.prpermanent">Permanente</label>
      <input class="attribute-value" type="checkbox" name="system.prpermanent"  {{#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 type="number" name="enchantement.jour" class="date-enchantement" value="{{enchantement.jour}}" data-dtype="Number" 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}}
