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

  {{> systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}}

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

    {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}}

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

      <ul class="item-list alternate-list">
        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Complexité : </label>
          <input type="text" class="padd-right numeric-input item-field-label-short" name="system.complexite"
            value="{{system.complexite}}" data-dtype="Number" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Branche : </label>
          <select class="item-field-label-long" type="text" name="system.branche" value="{{system.branche}}"
            data-dtype="string">
            {{selectOptions config.optionsArtefactBranche selected=system.branche valueAttr="key" nameAttr="key" labelAttr="label"}}
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Branche secondaire : </label>
          <select class="item-field-label-long" type="text" name="system.branche2" value="{{system.branche2}}"
            data-dtype="string">
            {{selectOptions config.optionsArtefactBranche2 selected=system.branche2 valueAttr="key" nameAttr="key" labelAttr="label"}}
          </select>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Durée de réalisation : </label>
          <input type="text" class="padd-right item-field-label-long" name="system.dureerealisation"
            value="{{system.dureerealisation}}" data-dtype="String" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Temps de mise en route : </label>
          <input type="text" class="padd-right item-field-label-long" name="system.tempsroute"
            value="{{system.tempsroute}}" data-dtype="String" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Effet de jeu : </label>
        </li>
        <li class="flexrow item">
          <textarea row="8" type="text" class="padd-right color-class-common" name="system.effetdejeu"
            data-dtype="String">{{system.effetdejeu}}</textarea>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Défaut courant : </label>
        </li>
        <li class="flexrow item">
          <textarea row="4" type="text" class="padd-right color-class-common" name="system.defautcourant"
            data-dtype="String">{{system.defautcourant}}</textarea>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Autres caractéristiques : </label>
        </li>
        <li class="flexrow item">
          <textarea row="4" type="text" class="padd-right color-class-common" name="system.autrescarac"
            data-dtype="String">{{system.autrescarac}}</textarea>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Avantages possibles : </label>
        </li>
        <li class="flexrow item">
          <textarea row="4" type="text" class="padd-right color-class-common" name="system.avantagespossibles"
            data-dtype="String">{{system.avantagespossibles}}</textarea>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Avantages disponibles : </label>
        </li>
        <li class="flexrow item">
          <textarea row="4" type="text" class="padd-right color-class-common" name="system.avantages"
            data-dtype="String">{{system.avantages}}</textarea>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Compétence associée : </label>
          <input type="text" class="padd-right item-field-label-long" name="system.competences"
            value="{{system.competences}}" data-dtype="String" />
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long">Equipé ? </label>
          <input type="checkbox" name="system.equipped" {{checked system.equipped}} />
        </li>

      </ul>

    </div>

  </section>
</form>