<form class="{{cssClass}}" autocomplete="off">
    <header class="sheet-header">
        <img class="profile-img" src="{{data.img}}" data-edit="img" title="{{data.name}}"/>
        <h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
    </header>
    {{!-- Sheet Body --}}
    <section class="sheet-body">
        <article class="attributes" data-group="primary" data-tab="description">
            {{!-- Row 1 : quantité / rareté / coût / équipé --}}
            <label class="value">
                {{localize 'l5r5e.sheets.quantity'}}
                <input class="select-on-focus" type="number" name="system.quantity" value="{{data.system.quantity}}" data-dtype="Number" min="0" placeholder="0"/>
            </label>
            <label class="value">
                {{localize 'l5r5e.sheets.rarity'}}
                <input class="select-on-focus" type="text" name="system.rarity" value="{{data.system.rarity}}" data-dtype="String" placeholder="—"/>
            </label>
            <label class="value">
                {{localize 'l5r5e.money.zeni'}}
                <input class="select-on-focus" type="text" name="system.zeni" value="{{data.system.zeni}}" data-dtype="String" placeholder="0"/>
            </label>
            <label class="attribute-value checkbox">
                <input type="checkbox" name="system.equipped" {{checked data.system.equipped}} />
                {{localize 'l5r5e.armors.equipped'}}
            </label>
            {{!-- Row 2 : défenses + catégorie --}}
            <label class="stat">
                <span>{{localize 'l5r5e.armors.physical'}}</span>
                <input class="select-on-focus" type="number" name="system.armor.physical" value="{{data.system.armor.physical}}" data-dtype="Number" placeholder="0"/>
            </label>
            <label class="stat">
                <span>{{localize 'l5r5e.armors.supernatural'}}</span>
                <input class="select-on-focus" type="number" name="system.armor.supernatural" value="{{data.system.armor.supernatural}}" data-dtype="Number" placeholder="0"/>
            </label>
            <label class="category">
                {{localize 'l5r5e.armors.type'}}
                <select name="system.armor_category">
                    <option value="">—</option>
                    {{selectOptions data.armorCategories selected=data.system.armor_category valueAttr='id' labelAttr='label'}}
                </select>
            </label>
        </article>
        {{!-- Description pleine largeur --}}
        <article class="tab infos active" data-group="primary" data-tab="infos">
            <fieldset>
                <legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
                {{editor data.enrichedHtml.description target="system.description" button=true owner=owner editable=editable engine="prosemirror" collaborate=false}}
            </fieldset>
        </article>
    </section>
</form>
