daggerheart/templates/actionTypes/range-target.hbs
Dapoulp 608920c193
Design/action settings dialog style (#274)
* Action Setting Dialog style

* fix small style details in action config application

* requested changes

---------

Co-authored-by: moliloo <dev.murilobrito@gmail.com>
2025-07-05 17:45:08 -03:00

12 lines
No EOL
639 B
Handlebars

<fieldset class="one-column">
<legend>Range{{#if fields.target}} & Target{{/if}}</legend>
{{formField fields.range value=source.range label="Range" name=(concat path "range") localize=true}}
{{#if fields.target}}
<div class="nest-inputs">
{{#if (and source.target.type (not (eq source.target.type 'self')))}}
{{ formField fields.target.amount value=source.target.amount label="Amount" name=(concat path "target.amount") }}
{{/if}}
{{ formField fields.target.type value=source.target.type label="Target" name=(concat path "target.type") localize=true }}
</div>
{{/if}}
</fieldset>