2020-06-24 14:31:52 -04:00
|
|
|
<form autocomplete="off" onsubmit="event.preventDefault();">
|
2021-08-06 16:38:15 -04:00
|
|
|
|
|
|
|
{{#*inline "traitList"}}
|
|
|
|
<ol class="trait-list">
|
|
|
|
{{#each choices as |choice key|}}
|
|
|
|
<li>
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{checked choice.chosen}}>
|
|
|
|
{{choice.label}}
|
|
|
|
</label>
|
|
|
|
{{#if choice.children}}
|
|
|
|
{{> traitList choices=choice.children}}
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{> traitList}}
|
2020-09-11 17:11:11 -04:00
|
|
|
{{#if allowCustom}}
|
2021-08-06 16:38:15 -04:00
|
|
|
<div class="form-group stacked">
|
|
|
|
<label>{{ localize "SW5E.TraitSelectorSpecial" }}</label>
|
|
|
|
<input type="text" name="custom" value="{{custom}}" data-dtype="String"/>
|
|
|
|
</div>
|
2020-09-11 17:11:11 -04:00
|
|
|
{{/if}}
|
2020-11-12 17:30:07 -05:00
|
|
|
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "SW5E.TraitSave"}}</button>
|
2020-06-24 14:31:52 -04:00
|
|
|
</form>
|