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

  {{> systems/fvtt-malefices/templates/items/partial-item-header.hbs this}}

  {{> systems/fvtt-malefices/templates/items/partial-item-nav.hbs this}}

  <section class="sheet-body">

    <div class="tab description" data-group="primary" data-tab="description">
      <div class="flexrow">
        <div class="tarot-image-panel">
          <img class="item-tarot-img" src="{{item.img}}" data-action="editImage" title="{{item.name}}" />
        </div>
        <div class="tarot-description-panel">
          {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
        </div>
      </div>
    </div>

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

          <li class="flexrow">
            <label class="item-field-label-long">Type</label>
            <select class="item-field-label-long" name="system.tarottype" data-dtype="String">
              {{selectOptions config.tarotType selected=system.tarottype}}
            </select>
          </li>

          {{#if isGM}}
          <li class="flexrow">
            <label class="item-field-label-long">Valeur endroit (positif)</label>
            <input type="number" class="item-field-label-short" name="system.numericvalueup" value="{{system.numericvalueup}}" />
          </li>
          <li class="flexrow">
            <label class="item-field-label-long">Valeur envers (négatif)</label>
            <input type="number" class="item-field-label-short" name="system.numericvaluedown" value="{{system.numericvaluedown}}" />
          </li>
          <li class="flexrow">
            <label class="item-field-label-long">A un sens (positif/négatif) ?</label>
            <input type="checkbox" name="system.isdualside" {{checked system.isdualside}} />
          </li>
          {{#if system.isdualside}}
          <li class="flexrow">
            <label class="item-field-label-long">En positif ?</label>
            <input type="checkbox" name="system.ispositif" {{checked system.ispositif}} />
          </li>
          {{/if}}
          <li class="flexrow">
            <label class="item-field-label-long">Carte cachée (MJ seulement) ?</label>
            <input type="checkbox" name="system.isgm" {{checked system.isgm}} />
          </li>
          {{/if}}

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

  </section>

</section>
