ds4/templates/sheets/item/components/properties/armor.hbs

34 lines
1.3 KiB
Handlebars
Raw Permalink Normal View History

2022-01-21 03:22:17 +01:00
{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher
SPDX-License-Identifier: MIT
--}}
<div class="ds4-item-properties ds4-item-properties--armor">
<h4 class="ds4-item-properties__title">{{localize 'DS4.ItemPropertiesArmor'}}</h4>
<div class="form-group">
2022-11-21 03:00:46 +01:00
<label for="system.armorType-{{data._id}}">{{localize "DS4.ArmorType"}}</label>
2022-01-21 03:22:17 +01:00
<div class="form-fields">
2022-11-21 03:00:46 +01:00
<select id="system.armorType-{{data._id}}" name="system.armorType" data-dtype="String">
{{#select data.system.armorType}}
2022-01-21 03:22:17 +01:00
{{#each config.i18n.armorTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
<div class="form-group">
2022-11-21 03:00:46 +01:00
<label for="system.armorMaterialType-{{data._id}}">{{localize "DS4.ArmorMaterialType"}}</label>
2022-01-21 03:22:17 +01:00
<div class="form-fields">
2022-11-21 03:00:46 +01:00
<select id="system.armorMaterialType-{{data._id}}" name="system.armorMaterialType" data-dtype="String">
{{#select data.system.armorMaterialType}}
2022-01-21 03:22:17 +01:00
{{#each config.i18n.armorMaterialTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
</div>