<section class="{{cssClass}}" autocomplete="off">

  {{!-- Sheet Header --}}
  <header class="sheet-header">
    <div class="header-fields">
      <div class="flexrow">
        {{#if token}}
          {{#if options.isOwner}}
          <img class="profile-img dimmed" src="{{img}}" data-edit="img"/>
          {{/if}}
          <img class="profile-img-token" src="{{token.img}}"/>
        {{else}}
        <img class="profile-img" src="{{img}}" data-edit="img"/>
        {{/if}}
        <div class="flexcol">
          <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
          {{#if @root.options.isObserver}}
          <div class="form-group">
            <input {{@root.disabled}} class="attribute-value" type="checkbox" name="system.illimite" {{#if system.illimite}}checked{{/if}}/>
            <label for="system.illimite">Quantité illimitée en vente</label>
          </div>
          <div class="form-group">
            <span>
              <label for="system.pourcentage">Appliquer un pourcentage sur les prix</label>
              <input name="system.pourcentage" class="attribute-value" type="number" data-dtype="Number" 
                value="{{system.pourcentage}}" min="20" max="500" step="5"
                {{@root.disabled}} />
            </span>
          </div>
          {{/if}}
        </div>
      </div>
    </div>
  </header>

  {{!-- Sheet Body --}}
  <section class="sheet-body">
    <div class="flexcol form-group medium-editor">
      <fieldset>
        <div>
          <label>Description :</label>
          {{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
        </div>
      </fieldset>
    </div>
    <hr>
    {{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire.hbs"}}

    {{#if @root.options.isObserver}}
      <hr>
      {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}}
    {{/if}}

    <br>
    {{> "systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.hbs"}}
    <br>
  </section>
</section>