{{!--
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">
        <label for="system.armorType-{{data._id}}">{{localize "DS4.ArmorType"}}</label>
        <div class="form-fields">
            <select id="system.armorType-{{data._id}}" name="system.armorType" data-dtype="String">
                {{#select data.system.armorType}}
                {{#each config.i18n.armorTypes as |value key|}}
                <option value="{{key}}">{{value}}</option>
                {{/each}}
                {{/select}}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="system.armorMaterialType-{{data._id}}">{{localize "DS4.ArmorMaterialType"}}</label>
        <div class="form-fields">
            <select id="system.armorMaterialType-{{data._id}}" name="system.armorMaterialType" data-dtype="String">
                {{#select data.system.armorMaterialType}}
                {{#each config.i18n.armorMaterialTypes as |value key|}}
                <option value="{{key}}">{{value}}</option>
                {{/each}}
                {{/select}}
            </select>
        </div>
    </div>
</div>
