bol/templates/item/parts/properties/feature-properties.hbs

27 lines
1.0 KiB
Handlebars
Raw Normal View History

<div class="property flexrow">
2021-11-08 14:40:29 +01:00
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
<select name="data.subtype" value="{{data.subtype}}" data-dtype="String">
{{#select data.subtype}}
2021-11-08 14:40:29 +01:00
{{#each config.featureSubtypes as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
</select>
</div>
{{#if (equals data.subtype "career")}}
{{> "systems/bol/templates/item/parts/properties/feature/career-properties.hbs"}}
{{/if}}
{{!#if (equals data.subtype "origin")}}
{{!> "systems/bol/templates/item/parts/properties/feature/origin-properties.hbs"}}
{{!/if}}
{{!#if (equals data.subtype "race")}}
{{!> "systems/bol/templates/item/parts/properties/feature/race-properties.hbs"}}
{{!/if}}
{{!#if (equals data.subtype "boon")}}
{{!> "systems/bol/templates/item/parts/properties/feature/boon-properties.hbs"}}
{{!/if}}
{{!#if (equals data.subtype "flaw")}}
{{!> "systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs"}}
{{!/if}}