Preliminary cleanup in the class sheet

This commit is contained in:
WBHarry 2025-06-08 01:57:06 +02:00
parent bf1492b195
commit 1f50e9533a
6 changed files with 47 additions and 254 deletions

View file

@ -2,8 +2,8 @@
<legend class="legend">{{localize "DAGGERHEART.Sheets.PC.Experience.Title"}}</legend>
{{#each document.system.experiences as |experience id|}}
<div class="experience-row">
<input class="experience-description" data-experience={{id}} value="{{experience.description}}" type="text" />
<div class="experience-value">{{experience.value}}</div>
<input name="{{concat "system.experiences." id ".description"}}" data-experience={{id}} value="{{experience.description}}" type="text" />
<div name="{{concat "system.experiences." id ".value"}}" class="experience-value">{{experience.value}}</div>
</div>
{{/each}}
{{#times (subtract 5 (length document.system.experiences))}}