mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
18 lines
No EOL
888 B
Handlebars
18 lines
No EOL
888 B
Handlebars
<fieldset class="action-category">
|
|
<legend class="action-category-label" data-action="toggleSection" data-section="range">
|
|
<div>Range{{#if fields.target}} & Target{{/if}}</div>
|
|
</legend>
|
|
<div class="action-category-data open">
|
|
{{formField fields.range value=source.range label="Range" name=(concat path "range") localize=true}}
|
|
</div>
|
|
{{#if fields.target}}
|
|
<div class="action-category-data open">
|
|
<div class="multi-display">
|
|
{{#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>
|
|
</div>
|
|
{{/if}}
|
|
</fieldset> |