mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* Organized language * Organized high level folders * Some deeper organization * More org. That's enough ._. * Capitalized initial system localization categories
15 lines
No EOL
1 KiB
Handlebars
15 lines
No EOL
1 KiB
Handlebars
<fieldset class="one-column" data-key="cost">
|
|
<legend>
|
|
Cost
|
|
<a><i class="fa-solid fa-plus icon-button" data-action="addElement"></i></a>
|
|
</legend>
|
|
{{#each source as |cost index|}}
|
|
<div class="nest-inputs">
|
|
{{formField ../fields.scalable label="Scalable" value=cost.scalable name=(concat "cost." index ".scalable") classes="checkbox"}}
|
|
{{formField ../fields.type choices=(@root.disableOption index ../fields.type.choices ../source) label="Resource" value=cost.type name=(concat "cost." index ".type") localize=true}}
|
|
{{formField ../fields.value label="Amount" value=cost.value name=(concat "cost." index ".value")}}
|
|
{{formField ../fields.step label="Step" value=cost.step name=(concat "cost." index ".step") disabled=(not cost.scalable)}}
|
|
<a class="btn" data-tooltip="{{localize "CONTROLS.CommonDelete"}}" data-action="removeElement" data-index="{{index}}"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
{{/each}}
|
|
</fieldset> |