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

23 lines
893 B
Handlebars
Raw Normal View History

<div class="form-group">
<label class="property-label">{{localize "BOL.ui.category"}}</label>
<div class="form-fields">
<select class="field-value" name="data.category" value="{{data.category}}" data-dtype="String">
{{#select data.category}}
{{#each config.itemCategories as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
</select>
</div>
2021-11-08 14:40:29 +01:00
</div>
{{#if (equals data.category "equipment")}}
{{> "systems/bol/templates/item/parts/properties/item/equipment-properties.hbs"}}
2021-11-08 14:40:29 +01:00
{{/if}}
{{#if (equals data.category "capacity")}}
{{> "systems/bol/templates/item/parts/properties/item/capacity-properties.hbs"}}
{{/if}}
{{#if (equals data.category "vehicle")}}
{{> "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs"}}
2021-11-08 14:40:29 +01:00
{{/if}}