mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-11 11:35:59 +01:00
Add checkboxes
This commit is contained in:
parent
73a19fc0bb
commit
0f0cb0a53b
5 changed files with 9 additions and 2 deletions
|
|
@ -4,6 +4,7 @@
|
|||
<a><i class="fa-solid fa-plus icon-button" data-action="addElement"></i></a>
|
||||
</legend>
|
||||
{{#each source as |cost index|}}
|
||||
{{formField ../fields.consumeOnSuccess value=cost.consumeOnSuccess name=(concat "cost." index ".consumeOnSuccess") classes="checkbox" rootId=partId localize=true}}
|
||||
<div class="nest-inputs">
|
||||
{{formField ../fields.scalable label="Scalable" value=cost.scalable name=(concat "cost." index ".scalable") classes="checkbox"}}
|
||||
{{formField ../fields.key choices=(@root.disableOption index @root.costOptions ../source) label="Resource" value=cost.key name=(concat "cost." index ".key") localize=true blank=false}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue