<div class="rdddialogchrono">
  <div class="flexcol">
    <div class="form-group">
      <label class="flex-shrink" for="auteur">Auteur</label>
      <input type="text" name="auteur" value="{{auteur}}" data-dtype="String" {{#unless isGM}}disabled{{/unless}}/>
    </div>
    <div class="form-group chronologie-preset">
      {{>"systems/foundryvtt-reve-de-dragon/templates/common/timestamp.hbs" 
        (timestamp-extract timestamp)
        path='chronologie'
        label='Date en jeu'
        disabled=''
      }}
    </div>
    <div class="form-group chronologie-preset">
      <label class="flex-shrink" for="dateReel">Date réelle</label>
      <input type="datetime-local" name="dateReel" value="{{dateReel}}" data-dtype="String" />
    </div>
    <div class="form-group chronologie-preset">
      <label class="flex-shrink" for="journalId">Journal</label>
      <select type="text" name="journalId" value="{{journalId}}" data-dtype="String">
        {{#select journalId}}
        <option value=""></option>
        {{#each (trier journaux) as |journal key|}}
        <option value="{{journal.id}}">
          {{#if journal.folder}}
          {{#if journal.folder.ancestors}}
          {{#each journal.folder.ancestors as |parent key|}}{{parent.name}} / {{/each}}
          {{/if}}
          {{journal.folder.name}} /
          {{/if}}
          {{journal.name}}
        </option>
        {{/each}}
        {{/select}}
      </select>
    </div>
    <div class="form-group chronologie-preset">
      <hr>
    </div>
    <div class="form-group">
      <label class="flex-shrink" for="information">Information
        <a class="chronologie-preset-show"><i class="fa-solid fa-square-plus"></i></a>
        <a class="chronologie-preset-hide"><i class="fa-solid fa-square-minus"></i></a>
      </label>
      <textarea autocomplete="off" data-tooltip="Information" name="information" autofocus>{{information}}</textarea>
    </div>
    <div class="form-group">
      <button class="chronologie-ajouter">Ajouter au journal</button>
    </div>
  </div>
</div>