<section class="{{cssClass}}" autocomplete="off">

  {{!-- Sheet Header --}}
  <header class="sheet-header">
    <div class="header-fields background-sheet-header">
      <div class="flexrow">
        <img class="profile-img" data-edit="img" data-action="editImage" src="{{actor.img}}" title="{{actor.name}}" />
        <div class="flexcol">
          <h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name" {{#if isPlayMode}}disabled{{/if}} /></h1>
          <div class="flexrow">

            <ul class="item-list alternate-list">

              <li class="item flexrow ">
                <h4 class="item-name-label competence-name">Bonne Aventure</h4>
                <label class="item-name-label competence-name item-field-label-short">Base</label>
                <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
                  name="system.bonneaventure.base" value="{{system.bonneaventure.base}}" {{#if isPlayMode}}disabled{{/if}} data-dtype="Number" />
                <label class="item-name-label competence-name item-field-label-short">Actuelle</label>
                <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
                  name="system.bonneaventure.actuelle" value="{{system.bonneaventure.actuelle}}" data-dtype="Number" {{#if isPlayMode}}disabled{{/if}} />
              </li>

              <li class="item flexrow ">
                <h4 class="item-name-label competence-name item-field-label-medium">Expérience</h4>
                <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
                  name="system.experience.value" value="{{system.experience.value}}" data-dtype="Number" {{#if isPlayMode}}disabled{{/if}} />

                <h4 class="item-name-label competence-name item-field-label-medium">Eclat</h4>
                <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
                  name="system.eclat.value" value="{{system.eclat.value}}" data-dtype="Number" {{#if isPlayMode}}disabled{{/if}} />
              </li>

                <li class="item flexrow">
                  <h4 class="item-name-label competence-name item-field-label-medium">Vigueur</h4>
                  <label class="status-small-label color-class-common item-field-label-short">{{system.sante.vigueur}}</label>
                  <h4 class="item-name-label competence-name item-field-label-medium">Etat</h4>
                  <select class="status-small-label color-class-common item-field-label-medium" type="text" name="system.sante.etat"
                    value="{{system.sante.etat}}" data-dtype="Number" {{#if isPlayMode}}disabled{{/if}}>
                    {{selectOptions @root.combativiteList selected=system.sante.etat valueAttr="value" nameAttr="value" labelAttr="label"}}
                  </select>
                  <button type="button" class="sheet-mode-toggle" data-action="toggleSheet" data-tooltip="{{#if isEditMode}}Mode Visualisation{{else}}Mode Édition{{/if}}">
                    <i class="{{#if isEditMode}}fas fa-eye{{else}}fas fa-edit{{/if}}"></i>
                  </button>
                </li>

            </ul>
          </div>
        </div>
      </div>
  </header>

  {{!-- Sheet Tab Navigation --}}
  <nav class="sheet-tabs tabs" data-group="primary">
    <a class="item" data-tab="principal">Attributs</a>
    <a class="item" data-tab="competences">Compétences</a>
    <a class="item" data-tab="combat">Combat</a>
    <a class="item" data-tab="equipement">Equipement</a>
    <a class="item" data-tab="biodata">Bio&Notes</a>
  </nav>
  <hr>

  {{!-- Sheet Body --}}
  <section class="sheet-body">

    {{!-- Main Tab --}}
    <div class="tab principal" data-group="primary" data-tab="principal">

      <div class="flexcol">

        <div class="grid grid-2col">

          <div class="sheet-box color-bg-archetype">
            <ul class="item-list alternate-list">
              {{#each system.attributs as |attr key|}}
              <li class="item flexrow " data-attr-key="{{key}}">
                <img class="item-name-img" src="systems/fvtt-hawkmoon-cyd/assets/icons/{{attr.labelnorm}}.webp">
                <span data-tooltip="Cliquez pour faire un jet" class="item-name-label competence-name item-field-label-medium"><a
                    data-action="rollAttribut">{{attr.label}}</a></span>
                <select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
                  name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number" {{#if @root.isPlayMode}}disabled{{/if}}>
                  {{selectOptions @root.config.listeNiveauSkill selected=attr.value}}
                </select>
              </li>
              {{/each}}

              <li class="item flexrow">
                <img class="item-name-img" src="systems/fvtt-hawkmoon-cyd/assets/icons/vitesse.webp">
                <span class="item-name-label competence-name item-field-label-medium">Vitesse</span>
                <input type="text" class="padd-right numeric-input item-field-label-short" name="system.vitesse.value"
                      value="{{system.vitesse.value}}" data-dtype="Number" {{#if @root.isPlayMode}}disabled{{/if}} />
              </li>

            </ul>
          </div>

          <div class="sheet-box color-bg-archetype">

            <h4 class="item-name-label competence-name">Adversités</h4>
            <ul class="item-list alternate-list">
              {{#each system.adversite as |adv key|}}
              <li class="item flexrow" data-adversite="{{key}}">
                <a class="plus-minus-button" data-action="modifyAdversite" data-adversite-value="-1">-</a>
                <div class="icon-adversite-container">
                  <img class="icon-adversite" src="systems/fvtt-hawkmoon-cyd/assets/icons/gemme_{{key}}.webp">
                  <div class="adversite-text">{{adv}}</div>
                </div>
                <a class="plus-minus-button" data-action="modifyAdversite" data-adversite-value="1">+</a>
                <div class="">&nbsp;</div>
                <div class="">&nbsp;</div>
                <div class="">&nbsp;</div>
              </li>
              {{/each}}
            </ul>
            {{#if isGM}}
            <div class="flexrow">
              <span class="item-name-label competence-name item-field-label-medium">Modificateur de Vigueur</span>
              <input type="text" class="item-field-label-short" name="system.sante.vigueurmodifier"
                  value="{{system.sante.vigueurmodifier}}" data-dtype="Number" {{#if isPlayMode}}disabled{{/if}} />
            </div>
            {{/if}}
          </div>
        </div>

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Talents</label></h3>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Résumé</label>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="createItem" data-type="talent" title="Ajouter un Talent"><i
                    class="fas fa-plus"></i></a>
              </div>
            </li>
            {{#each talents as |talent key|}}
            <li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="talent">
              <img class="item-name-img" src="{{talent.img}}" />
              <span class="item-name-label competence-name">{{talent.name}}</span>
              <span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>

              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>

        {{#if (count mutations)}}
          <div class="sheet-box color-bg-archetype">
            <ul class="item-list alternate-list">
              <li class="item flexrow">
                <span class="item-name-label-header">
                  <h3><label class="items-title-text">Mutations</label></h3>
                </span>
                <span class="item-field-label-long">
                  <label class="short-label">Catégorie</label>
                </span>
                <div class="item-filler">&nbsp;</div>
                <div class="item-controls item-controls-fixed">
                  <a class="item-control" data-action="createItem" data-type="mutation" title="Ajouter une Mutation"><i
                      class="fas fa-plus"></i></a>
                </div>
              </li>
              {{#each mutations as |mutation key|}}
              <li class="item flexrow " data-item-id="{{mutation._id}}" data-item-type="mutation">
                <img class="item-name-img" src="{{mutation.img}}" />
                <span class="item-name-label competence-name">{{mutation.name}}</span>
                <span class="item-name-label item-field-label-long2">{{mutation.system.mutationcategorie}}</span>

                <div class="item-filler">&nbsp;</div>
                <div class="item-controls item-controls-fixed">
                    <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                    <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
                </div>
              </li>
              {{/each}}
            </ul>
          </div>
        {{/if}}

        <div class="flexrow">
          <div class="sheet-box color-bg-archetype">
            <ul class="item-list alternate-list">
              <li class="item flexrow">
                <span class="item-name-label-header">
                  <h3><label class="items-title-text">Talents de Cellule</label></h3>
                </span>
                <span class="item-field-label-short">
                  <label class="short-label">Résumé</label>
                </span>
                <div class="item-filler">&nbsp;</div>
                <div class="item-controls item-controls-fixed">
                  {{#if celluleId}}
                  <a class="item-control" data-action="openCellule" data-cellule-id="{{celluleId}}" title="Ouvrir la fiche de cellule"><i class="fas fa-external-link-alt"></i></a>
                  {{/if}}
                </div>
                </li>
              {{#each talentsCell as |talent key|}}
              <li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
                <img class="item-name-img" src="{{talent.img}}" />
                <span class="item-name-label competence-name">{{talent.name}}</span>
                <span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
                <div class="item-filler">&nbsp;</div>
                <div class="item-controls item-controls-fixed">
                  <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                </div>
              </li>
              {{/each}}
            </ul>
          </div>

        </div>
      </div>

    </div>

    {{!-- Competence Tab --}}
    <div class="tab competences" data-group="primary" data-tab="competences">

      <div class="flexrow">

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Compétences</label></h3>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Niveau</label>
              </span>
              <div class="item-filler">&nbsp;</div>
            </li>
            {{#each skills as |skill key|}}
            <li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
              <img class="item-name-img" src="{{skill.img}}" />

              <div class="flexcol item-name-label">

                <span class="item-name-label competence-name"><a data-action="rollCompetence"
                  data-attr-key="tochoose">{{skill.name}}</a></span>

                    <span class="predilection-text">
                    {{#each skill.system.predilections as |pred key|}}
                      {{#if (and pred.acquise (not pred.used))}}
                        {{pred.name}},
                      {{/if}}
                    {{/each}}
                  </span>
              </div>

              <select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
                data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number" {{#if @root.isPlayMode}}disabled{{/if}}>
                {{selectOptions @root.config.listeNiveauSkill selected=skill.system.niveau}}
              </select>

              {{#if (ne skill.system.attribut1 "none")}}
              <button class="button-sheet-roll button-competence" data-action="rollCompetence" data-attr-key="{{skill.system.attribut1}}">{{upper
                skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
              {{/if}}
              {{#if (ne skill.system.attribut2 "none")}}
              <button class="button-sheet-roll button-competence" data-action="rollCompetence" data-attr-key="{{skill.system.attribut2}}">{{upper
                skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
              {{/if}}
              {{#if (ne skill.system.attribut3 "none")}}
              <button class="button-sheet-roll button-competence" data-action="rollCompetence" data-attr-key="{{skill.system.attribut3}}">{{upper
                skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
              {{/if}}

              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>

      </div>

    </div>

    {{!-- Equipement Tab --}}
    <div class="tab combat" data-group="primary" data-tab="combat">

      <ul class="item-list alternate-list">
        <li class="item flexrow">
          <button class="chat-card-button roll-initiative" data-action="rollInitiative">Initiative (actuelle:{{initiative}} )</button>
          <label class="item-field-label-short">&nbsp</label>
          <label class="item-field-label-short">Monté?</label>
          <input type="checkbox" name="system.combat.monte" {{checked system.combat.monte}}  />
          <label class="item-field-label-short">&nbsp</label>
          <label class="item-field-label-medium">Défense totale?</label>
          <input type="checkbox" name="system.combat.defensetotale" {{checked system.combat.defensetotale}}  />
        </li>
        <li class="item flexrow">
          <button class="chat-card-button" data-action="rollAssommer">Assommer</button>
          <button class="chat-card-button" data-action="rollCoupBas">Coup bas</button>
          <button class="chat-card-button" data-action="rollImmobiliser">Immobiliser</button>
          <button class="chat-card-button" data-action="rollRepousser">Repousser</button>
          <button class="chat-card-button" data-action="rollDesengager">Se désengager</button>
        </li>
      </ul>

      <div class="flexcol">

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow list-item items-title-bg">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Armes</label></h3>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Attaque</label>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Défense</label>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Dégats</label>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="createItem" data-type="arme" title="Ajouter une arme"><i
                    class="fas fa-plus"></i></a>
              </div>
            </li>
            {{#each armes as |arme key|}}
            <li class="item flexrow " data-item-id="{{arme._id}}" data-item-type="arme">
              <img class="item-name-img" src="{{arme.img}}" />
              <span class="item-name-label competence-name">{{arme.name}}</span>

              <span class="item-field-label-short">
                <button class="button-sheet-roll" data-action="rollArmeOffensif">{{arme.system.totalOffensif}}</button>
              </span>

              {{#if arme.system.isdefense}}
              <span class="item-field-label-short arme-defensif item-field-label-short"><label
                  class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
              {{else}}
              <span class="item-field-label-short arme-defensif item-field-label-short"><label
                class="arme-defensif item-field-label-short defense-sheet">N/A</label></span>
            {{/if}}

              <span class="item-field-label-short">
                <button class="button-sheet-roll" data-action="rollArmeDegats">{{arme.system.totalDegats}}</button>
              </span>

              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="equipItem" title="Equipé">{{#if arme.system.equipped}}<i
                    class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
                <a class="item-control" data-action="editItem" title="Editer l' Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Supprimer l'Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow list-item items-title-bg">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Protections</label></h3>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Protection</label>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="createItem" data-type="protection" title="Ajouter une arme"><i
                    class="fas fa-plus"></i></a>
              </div>
            </li>
            {{#each protections as |protection key|}}
            <li class="item flexrow " data-item-id="{{protection._id}}" data-item-type="protection">
              <img class="item-name-img" src="{{protection.img}}" />
              <span class="item-name-label competence-name">{{protection.name}}</span>
              <span class="item-field-label-short arme-defensif"><label
                  class="arme-defensif">{{protection.system.protection}}</label>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="equipItem" title="Equipé">{{#if protection.system.equipped}}<i
                  class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
                <a class="item-control" data-action="editItem" title="Editer l'Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Supprimer l'Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>
      </div>
    </div>


    {{!-- Equipement Tab --}}
    <div class="tab equipement" data-group="primary" data-tab="equipement">

      <div class="flexcol">

        <div class="sheet-box color-bg-archetype">
            <h4>
              <label class="argent-total-text">
                Argent Total : {{richesse.po}} PO - {{richesse.pa}} PA - {{richesse.sc}} SC (total {{richesse.valueSC}} SC)
              </label>
          </h4>
        </div>

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow list-item items-title-bg">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Richesses et Argent</label></h3>
              </span>
              <span class="item-field-label-short">
                <label class="short-label">Quantité</label>
              </span>

              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="createItem" data-type="monnaie" title="Ajouter une monnaie"><i
                    class="fas fa-plus"></i></a>
              </div>
            </li>
            {{#each monnaies as |monnaie key|}}
            <li class="item flexrow " data-item-id="{{monnaie._id}}" data-item-type="monnaie">
              <img class="item-name-img" src="{{monnaie.img}}" />
              <span class="item-name-label competence-name">{{monnaie.name}}</span>
              <span class="item-name-label competence-name item-field-label-medium">{{monnaie.system.quantite}}
                <a class="plus-minus-button" data-action="modifyQuantity" data-quantite-value="-1">-</a>
                <a class="plus-minus-button" data-action="modifyQuantity" data-quantite-value="1">+</a>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>

        <hr>
        <div class="sheet-box color-bg-archetype">
            <h4>
              <label class="argent-total-text">
                Valeur Totale Equipement : {{valeurEquipement.po}} PO - {{valeurEquipement.pa}} PA - {{valeurEquipement.sc}} SC (total {{valeurEquipement.valueSC}} SC)
              </label>
          </h4>
        </div>

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow list-item items-title-bg">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Equipements</label></h3>
              </span>

              <span class="item-field-label-short">
                <label class="short-label">Quantité</label>
              </span>

              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="createItem" data-type="equipement" title="Ajouter un équipement"><i
                    class="fas fa-plus"></i></a>
              </div>
            </li>
            {{#each equipements as |equipement key|}}
            <li class="item flexrow " data-item-id="{{equipement._id}}" data-item-type="equipement">
              <img class="item-name-img" src="{{equipement.img}}" />
              <span class="item-name-label competence-name">{{equipement.name}}</span>
              <span class="item-name-label competence-name item-field-label-medium">{{equipement.system.quantite}}
                <a class="plus-minus-button" data-action="modifyQuantity" data-quantite-value="-1">-</a>
                <a class="plus-minus-button" data-action="modifyQuantity" data-quantite-value="1">+</a>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>

        <div class="sheet-box color-bg-archetype">
          <ul class="item-list alternate-list">
            <li class="item flexrow list-item items-title-bg">
              <span class="item-name-label-header">
                <h3><label class="items-title-text">Artefacts</label></h3>
              </span>

              <span class="item-field-label-short">
                <label class="short-label">Quantité</label>
              </span>

              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="createItem" data-type="artefact" title="Ajouter un artefact"><i
                    class="fas fa-plus"></i></a>
              </div>
            </li>
            {{#each artefacts as |artefact key|}}
            <li class="item flexrow " data-item-id="{{artefact._id}}" data-item-type="artefact">
              <img class="item-name-img" src="{{artefact.img}}" />
              <span class="item-name-label competence-name">{{artefact.name}}</span>
              <span class="item-name-label competence-name item-field-label-medium">{{artefact.system.quantite}}
                <a class="plus-minus-button" data-action="modifyQuantity" data-quantite-value="-1">-</a>
                <a class="plus-minus-button" data-action="modifyQuantity" data-quantite-value="1">+</a>
              </span>
              <div class="item-filler">&nbsp;</div>
              <div class="item-controls item-controls-fixed">
                <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
                <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
              </div>
            </li>
            {{/each}}
          </ul>
        </div>

      </div>

    </div>


    {{!-- Biography Tab --}}
    <div class="tab biodata" data-group="primary" data-tab="biodata">

      <div>
        <ul class="item-list alternate-list">
          {{#each historiques as |historique key|}}
          <li class="item flexrow" data-item-id="{{historique._id}}">
            <label class="generic-label">Historique : </label>
            <label class="generic-label">{{historique.name}}</label>
            <label></label>
            <div class="item-controls item-controls-fixed">
              <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
              <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
            </div>
          </li>
          {{/each}}
          {{#each profils as |profil key|}}
          <li class="item flexrow" data-item-id="{{profil._id}}">
            <label class="generic-label">Profil : </label>
            <label class="generic-label">{{profil.name}}</label>
            <label></label>
            <div class="item-controls item-controls-fixed">
              <a class="item-control" data-action="editItem" title="Edit Item"><i class="fas fa-edit"></i></a>
              <a class="item-control" data-action="deleteItem" title="Delete Item"><i class="fas fa-trash"></i></a>
            </div>
          </li>
          {{/each}}
        </ul>
      </div>


      <div class="grid grid-3col">
        <div>
          <ul>
            <li class="flexrow item">
              <label class="generic-label">Statut de résistant</label>
              <select class="status-small-label color-class-common item-field-label-long" type="text" name="system.biodata.statutresistant" data-dtype="String" {{#if isPlayMode}}disabled{{/if}}>
              {{selectOptions config.optionsStatutResistant selected=system.biodata.statutresistant valueAttr="key" nameAttr="key" labelAttr="label"}}
              </select>
            </li>
            <li class="flexrow item">
              <label class="generic-label">Sexe</label>
              <input type="text" class="input-field" name="system.biodata.sexe" value="{{system.biodata.sexe}}"
                data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
            </li>
            <li class="item flexrow">
              <label class="generic-label">Age</label>
              <input type="text" class="input-field" name="system.biodata.age" value="{{system.biodata.age}}"
                data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
            </li>
          </ul>
        </div>
        <div>
          <ul>
            <li class="item flexrow">
              <label class="generic-label">Taille</label>
              <input type="text" class="input-field" name="system.biodata.taille" value="{{system.biodata.taille}}"
                data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
            </li>
            <li class="item flexrow">
              <label class="generic-label">Cheveux</label>
              <input type="text" class="input-field" name="system.biodata.cheveux" value="{{system.biodata.cheveux}}"
                data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
            </li>
          </ul>
        </div>

        <div>
          <li class="item flexrow">
            <label class="generic-label">Yeux</label>
            <input type="text" class="input-field" name="system.biodata.yeux" value="{{system.biodata.yeux}}"
              data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
          </li>
          <li class="flexrow item">
            <label class="generic-label">Main préférée</label>
            <input type="text" class="input-field" name="system.biodata.mainpreferee" value="{{system.biodata.mainpreferee}}"
              data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
          </li>
          <li class="flexrow item">
            <label class="generic-label">Poids</label>
            <input type="text" class="input-field" name="system.biodata.poids" value="{{system.biodata.poids}}"
              data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
          </li>
        </div>
      </div>

      <span>
        <h3>Description</h3>
      </span>
      {{log this}}
      {{formInput systemFields.biodata.fields.description enriched=enrichedDescription value=system.biodata.description name="system.biodata.description" toggled=true}}

    </div>

  </section>
</section>