<section>
  {{> "systems/foundryvtt-reve-de-dragon/templates/sheets/item/common/header.hbs"}}
  <fieldset>
    <div class="form-group">
      <label for="system.categorie">Type de queue</label>
      <select name="system.categorie" data-dtype="String">
        <option value="" {{#if (eq system.categorie "")}}selected{{/if}}>Standard</option>
        <option value="ideefixe" {{#if (eq system.categorie "ideefixe")}}selected{{/if}}>Idée fixe</option>
        <option value="lancinant" {{#if (eq system.categorie "lancinant")}}selected{{/if}}>Désir lancinant</option>
      </select>
    </div>
    <div class="form-group">
      <label for="system.duree">Durée</label>
      <select name="system.duree" data-dtype="String">
        {{#each (timestamp-formulesDuree) as |duree|}}
        <option value="{{duree.code}}" {{#if (eq ../system.duree duree.code)}}selected{{/if}}>{{duree.label}}</option>
        {{/each}}
      </select>
    </div>
    <div class="form-group">
      <label for="system.refoulement">Refoulement</label>
      <input name="system.refoulement" value="{{system.refoulement}}" type="number" data-dtype="Number"/>
    </div>
  </fieldset>
  {{#if options.isOwned}}
  {{>"systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs" labeldebut="Depuis le" labelfin="Jusqu'au"}}
  {{/if}}
  <fieldset>
    {{formField systemFields.frequence value=system.frequence}}
    {{#if options.isGM}}
    <div class="form-group">
      <label for="system.hautrevant">Pour haut-rêvants</label>
      <input name="system.hautrevant" type="checkbox" {{#if system.hautrevant}}checked{{/if}}/>
    </div>
    {{/if}}
  </fieldset>
  {{>"systems/foundryvtt-reve-de-dragon/templates/sheets/item/common/template-description.hbs"}}
</section>
