<form class="{{cssClass}}" autocomplete="off"> <header class="sheet-header"> <img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/> <div class="header-fields"> <h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1> </div> </header> {{!-- Sheet Body --}} <section class="sheet-body"> <div class="form-group"> <label for="categorie">Compétence associée</label> <select name="data.competence" id="competence" data-dtype="String"> {{#select item.data.competence}} {{>"systems/foundryvtt-reve-de-dragon/templates/arme-competence.html"}} {{/select}} </select> </div> <div class="form-group"> <label for="niveau">Dommmages </label> <input class="attribute-value" type="text" name="data.dommages" value="{{data.dommages}}" data-dtype="String"/> </div> <div class="form-group"> <label for="xp">Résistance </label> <input class="attribute-value" type="text" name="data.resistance" value="{{data.resistance}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="xp">Encombrement </label> <input class="attribute-value" type="text" name="data.encombrement" value="{{data.encombrement}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="xp">Force min. </label> <input class="attribute-value" type="text" name="data.force" value="{{data.force}}" data-dtype="String"/> </div> <div class="form-group"> <label for="xp">Arme rapide ? </label> <input class="attribute-value" type="checkbox" name="data.rapide" {{#if data.rapide}}checked{{/if}}/> </div> <div class="form-group"> <label for="xp">A Une main ? </label> <input class="attribute-value" type="checkbox" name="data.unemain" {{#if data.unemain}}checked{{/if}}/> </div> <div class="form-group"> <label for="xp">A Deux mains ? </label> <input class="attribute-value" type="checkbox" name="data.deuxmains" {{#if data.deuxmains}}checked{{/if}}/> </div> <div class="form-group"> <label for="xp">Portée courte </label> <input class="attribute-value" type="text" name="data.portee_courte" value="{{data.portee_courte}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="xp">Portée moyenne </label> <input class="attribute-value" type="text" name="data.portee_moyenne" value="{{data.portee_moyenne}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="xp">Portée extrême </label> <input class="attribute-value" type="text" name="data.portee_extreme" value="{{data.portee_extreme}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="penetration">Pénétration </label> <input class="attribute-value" type="text" name="data.penetration" value="{{data.penetration}}" data-dtype="Number"/> </div> <div class="form-group"> <label for="xp">Prix (sols) </label> <input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/> </div> <div class="flexcol"> <span><label>Description : </label></span> <div class="form-group editor"> {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} </div> </div> </section> </form>