<form class="{{cssClass}}" autocomplete="off">
  {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}

  {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}

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

    {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}

    <div class="tab details" data-group="primary" data-tab="details">

      <ul class="item-list alternate-list">
        {{log this}}
        <li class="flexrow item"> 
          <label class="generic-label item-field-label-long2">Compétence de Magie </label>
          <select class="status-small-label color-class-common item-field-label-long" type="text"
            name="system.competence" value="{{system.competence}}" data-dtype="String">
            {{selectOptions competencesMagie selected=system.competence valueAttr="name" labelAttr="name"}}
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Carac </label>
          <select class="status-small-label color-class-common item-field-label-long" type="text" name="system.carac"
            value="{{system.carac}}" data-dtype="string">
            {{selectOptions config.caracList selected=system.carac}}
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Niveau </label>
          <select class="status-small-label color-class-common item-field-label-long" type="text" name="system.niveau"
            value="{{system.niveau}}" data-dtype="string">
            {{selectOptions config.listNiveauSort selected=system.niveau}}
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Durée </label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.duree" value="{{system.duree}}" data-dtype="String" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Portée </label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.portee" value="{{system.portee}}" data-dtype="String" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Concentration </label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.concentration" value="{{system.concentration}}" data-dtype="String" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Résistance</label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.resistance" value="{{system.resistance}}" data-dtype="String" />
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Critique</label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.critique" value="{{system.critique}}" data-dtype="String" />
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Ingrédients</label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.ingredients" value="{{system.ingredients}}" data-dtype="String" />
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Cout spécial d'activation</label>
          <input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
            name="system.coutactivation" value="{{system.coutactivation}}" data-dtype="String" />
        </li>

      </ul>
    </div>

  </section>
</form>