<ol class="trait-list">
    {{#each choices as |choice key|}}
    <li class="{{#if choice.category}}category{{/if}} {{#if choice.wildcard}}wildcard{{/if}}">
        <label class="checkbox">
            {{#unless (eq selectable false)}}
            <input type="checkbox" name="{{#if ../prefix}}{{../prefix}}.{{/if}}{{key}}"
                   {{checked choice.chosen}} {{disabled choice.disabled}}>
            {{/unless}}
            {{choice.label}}
        </label>
        {{#if choice.children}}
        {{> "dnd5e.trait-list" choices=choice.children prefix=../prefix}}
        {{/if}}
    </li>
    {{/each}}
</ol>
