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

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


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

    <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-long2">Type </label>
          <select class="status-small-label color-class-common item-field-label-long" type="text"
            name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string">
            {{selectOptions config.typePouvoir selected=system.pouvoirtype}}
          </select>
        </li>

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

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Cibles </label>
          <input type="text" class="padd-right color-class-common item-field-label-long3"
            name="system.cibles" value="{{system.cibles}}" data-dtype="String" />
        </li>
        
        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Effet </label>
          <textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.effet"
          data-dtype="String">{{system.effet}}</textarea>
        </li>

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Portée </label>
          <input type="text" class="padd-right 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">Résistance</label>
          <select class="status-small-label color-class-common item-field-label-long" type="text"
            name="system.resistance" value="{{system.resistance}}" data-dtype="string">
            {{selectOptions config.resistancePouvoir selected=system.resistance}}
          </select>
        </li>

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

        <li class="flexrow item">
          <label class="generic-label item-field-label-long2">Virulence (ie Poison) ? </label>
          <input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
            name="system.isvirulence" {{checked system.isvirulence}}/>
        </li>

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

      </ul>
    </div>

  
</section>
