Files
fvtt-wasteland/templates/item-charme-sheet.hbs

30 lines
1.0 KiB
Handlebars

<section class="{{cssClass}}" autocomplete="off">
{{> systems/fvtt-wasteland/templates/partial-item-header.hbs this}}
{{> systems/fvtt-wasteland/templates/partial-item-nav.hbs this}}
{{> systems/fvtt-wasteland/templates/partial-item-description.hbs this}}
<div class="sheet-body" data-group="primary" data-tab="details">
<div class="item-details">
<div class="form-group">
<label>Type</label>
<select name="system.charmetype" data-dtype="String">
{{selectOptions config.charmetype selected=system.charmetype}}
</select>
</div>
{{#each system.resultats as |resultat key|}}
<div class="form-group charme-result-row">
<label>Valeur</label>
<input type="number" name="system.resultats.{{key}}.value" value="{{resultat.value}}" class="input-numeric-short" />
<label>Description</label>
<input type="text" name="system.resultats.{{key}}.description" value="{{resultat.description}}" />
</div>
{{/each}}
</div>
</div>
</section>