<li class="item item-blessure flexrow list-item blessure-active-{{lowercase system.label}}" data-item-id="{{id}}"
    data-tooltip="Blessure {{system.label}}">
  <span class="blessure-control flexrow">
    <img class="sheet-competence-img" src="{{img}}" />
    {{#if (gt system.gravite 0)}}
    {{system.label}}
    {{/if}}
  </span>
  {{#if (gt system.gravite 6)}}
  <span class="flexrow"></span>
  <span class="flexrow"></span>
  <span class="flexrow"></span>
  {{else}}
  <span class="flexrow">
    <input name="blessure.{{id}}.premierssoins.done" type="checkbox" class="blessure-premierssoins-done" {{#if system.premierssoins.done}}checked{{/if}}/>
    {{#if system.premierssoins.done}}
    {{#unless system.soinscomplets.done}}
    <input name="blessure.{{id}}.premierssoins.bonus" type="text" data-dtype="Number" class="blessure-premierssoins-bonus number-x2"
      value="{{system.premierssoins.bonus}}" min="-6" max="2"/>
    {{/unless}}
    {{else}}
    <label>{{system.premierssoins.tache}} / {{system.gravite}}</label>
    {{/if}}
  </span>
  <span class="flexrow">
    {{#if system.premierssoins.done}}
    <input name="blessure.{{id}}.system.soinscomplets.done" type="checkbox" class="blessure-soinscomplets-done" {{#if system.soinscomplets.done}}checked{{/if}}/>
      {{#if system.soinscomplets.done}}
      <input name="blessure.{{id}}.system.soinscomplets.bonus" data-dtype="Number" type="text" class="blessure-soinscomplets-bonus number-x2"
        value="{{system.soinscomplets.bonus}}" min="0" max="3"/>
      {{/if}}
    {{/if}}
  </span>
  <span class="flexrow">
    {{#unless system.soinscomplets.done}}{{system.difficulte}}{{/unless}}
  </span>
  {{/if}}
  <span>
  {{#if system.origine}}<span>Par {{system.origine}}</span>{{/if}}
  {{#if (regle-optionnelle 'localisation-aleatoire')}}
  {{#if system.localisation}}<span>{{system.localisation}}</span>{{/if}}
  {{/if}}
  </span>
  {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=this options=@root.options}}
</li>
