<form class="{{cssClass}}" autocomplete="off"> {{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}} <section class="sheet-body"> <div class="form-group"> <label for="system-gravite">Gravité</label> <select name="system-gravite" class="gravite" data-dtype="Number"> {{#select system.gravite}} <option value="0">Contusion / Eraflure</option> <option value="2">Légère</option> <option value="4">Grave</option> <option value="6">Critique</option> <option value="8">Mort</option> {{/select}} </select> </div> <div class="form-group"> <label for="system.localisation">Localisation</label> <input class="attribute-value" type="text" name="system.localisation" value="{{system.localisation}}" data-dtype="String"/> </div> <div class="form-group"> <label for="system.origine">Causée par</label> <input class="attribute-value" type="text" name="system.origine" value="{{system.origine}}" data-dtype="String"/> </div> {{#if (lt system.gravite 7)}} <div class="form-group"> <label for="system.difficulte">Difficulté des soins</label> <input class="attribute-value number-x" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="premierssoins-done">Premiers soins <input class="attribute-value" type="checkbox" name="premierssoins-done" {{#if system.premierssoins.done}}checked{{/if}}/> </label> {{#if system.premierssoins.done}} {{#unless system.soinscomplets.done}} <input class="attribute-value number-x" type="text" name="system.premierssoins.bonus" value="{{system.premierssoins.bonus}}" data-dtype="Number"/> {{/unless}} {{else}} <label for="system.premierssoins.tache">Points de tâches</label> <input class="attribute-value number-x" type="text" name="system.premierssoins.tache" value="{{system.premierssoins.tache}}" data-dtype="Number"/> {{/if}} </div> {{#if system.premierssoins.done}} <div class="form-group"> <label for="soinscomplets-done">Soins complets <input class="attribute-value" type="checkbox" name="soinscomplets-done" {{#if system.soinscomplets.done}}checked{{/if}}/> </label> {{#if system.soinscomplets.done}} <input class="attribute-value number-x" type="text" name="system.soinscomplets.bonus" value="{{system.soinscomplets.bonus}}" data-dtype="Number"/> {{/if}} </div> {{/if}} {{/if}} {{#if options.isOwned}} {{>"systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs" this labeldebut="Obtenue" labelfin="Prochain jet"}} {{/if}} </section> </form>