daggerheart/templates/sheets/armor.hbs
2025-05-22 16:53:39 +02:00

37 lines
No EOL
1.9 KiB
Handlebars

<div>
<header class="flexcol">
<div class="title-container">
<img class="flex0" src="{{document.img}}" data-edit="img" data-action="onEditImage" title="{{document.name}}" height="64" width="64"/>
<div class="title-name">
{{formInput fields.name value=source.name rootId=partId}}
</div>
</div>
</header>
<section class="sheet-body">
{{formField systemFields.baseScore value=source.system.baseScore label=(localize "DAGGERHEART.Sheets.Armor.BaseScore") }}
{{formField systemFields.feature value=source.system.feature label=(localize "DAGGERHEART.Sheets.Armor.Feature") localize=true blank=""}}
<div class="feature-description">
<h2>{{localize "DAGGERHEART.Sheets.Armor.Description"}}</h2>
{{formInput systemFields.description value=source.system.description enriched=source.system.description localize=true toggled=true}}
</div>
{{!-- <div class="form-group">
<label>{{localize "DAGGERHEART.Sheets.Armor.BaseScore"}}</label>
<div class="form-fields">
<input type="text" name="system.baseScore" value={{item.system.baseScore}} data-dtype="Number" />
</div>
</div> --}}
{{!-- <div class="form-group">
<label>{{localize "DAGGERHEART.Sheets.Armor.Feature"}}</label>
<div class="form-fields">
<select name="system.feature">
{{selectOptions config.ITEM.armorFeatures selected=item.system.feature labelAttr="name" localize=true blank="" }}
</select>
</div>
</div>
<div class="feature-description">
<h2>{{localize "DAGGERHEART.Sheets.Armor.Description"}}</h2>
{{editor item.system.description target="system.description" button=true}}
</div> --}}
</section>
</div>