<form class="{{cssClass}}" autocomplete="off">
    <header class="sheet-header">
        <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
        <div class="header-fields">
            <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
        </div>
    </header>

    {{!-- Sheet Body --}}
    <section class="sheet-body">

        <div class="tab" data-group="primary">
          <ul>
            <li class="flexrow"><label class="generic-label">Type</label>
              <select class="competence-base flexrow" type="text" name="system.type" value="{{data.type}}" data-dtype="String">
                {{#select data.type}}
                <option value="legere">Légères</option>
                <option value="unemain">A une main</option>
                <option value="deuxmains">A deux mains</option>
                {{/select}}
              </select> 
            </li>
            <li class="flexrow"><label class="generic-label">Dégâts</label><input type="text" name="system.damage" value="{{data.damage}}" data-dtype="String"/></li>
            <li class="flexrow"><label class="generic-label">Dégâts critique</label><input type="text" name="system.criticaldamage" value="{{data.criticaldamage}}" data-dtype="String"/></li>
            <li class="flexrow"><label class="generic-label">Encombrement</label><input type="text" name="system.enc" value="{{data.enc}}" data-dtype="Number"/></li>
            <li class="flexrow"><label class="generic-label">Quantité</label><input type="text" name="system.quantite" value="{{data.quantite}}" data-dtype="Number"/></li>
            <li class="flexrow"><label class="generic-label">Coût</label><input type="text" name="system.cost" value="{{data.cost}}" data-dtype="Number"/></li>
            <li class="flexrow"><label class="generic-label">Valeur de critique</label>
              <input type="text" name="system.valuecritical" value="{{data.valuecritical}}" data-dtype="Number"/></li>
          </ul>
          <hr>
          <h4 class="generic-label">Description</h4>
          {{editor description target="system.description" button=true owner=owner editable=editable}}
        </div>

    </section>
</form>
