{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher
SPDX-FileCopyrightText: 2021 Oliver Rümpelein
SPDX-FileCopyrightText: 2021 Gesina Schwalbe

SPDX-License-Identifier: MIT
--}}

<div class="ds4-actor-properties">
    <div class="ds4-actor-properties__property">
        <label class="ds4-actor-properties__property-label"
            for="system.baseInfo.creatureType-{{data._id}}">{{config.i18n.creatureBaseInfo.creatureType}}</label>
        <select class="ds4-actor-properties__property-select" id="system.baseInfo.creatureType-{{data._id}}"
            name="system.baseInfo.creatureType" data-dtype="String">
            {{#select data.system.baseInfo.creatureType}}
            {{#each config.i18n.creatureTypes as |value key|}}
            <option value="{{key}}">{{value}}</option>
            {{/each}}
            {{/select}}
        </select>
    </div>
    <div class="ds4-actor-properties__property">
        <label class="ds4-actor-properties__property-label"
            for="system.baseInfo.loot-{{data._id}}">{{config.i18n.creatureBaseInfo.loot}}</label>
        <input type="text" id="system.baseInfo.loot-{{data._id}}" name="system.baseInfo.loot"
            value="{{data.system.baseInfo.loot}}" data-dtype="String" />
    </div>
    <div class="ds4-actor-properties__property">
        <label class="ds4-actor-properties__property-label"
            for="system.baseInfo.foeFactor-{{data._id}}">{{config.i18n.creatureBaseInfo.foeFactor}}</label>
        <input type="text" id="system.baseInfo.foeFactor-{{data._id}}" name="system.baseInfo.foeFactor"
            value="{{data.system.baseInfo.foeFactor}}" data-dtype="Number" />
    </div>
    <div class="ds4-actor-properties__property">
        <label class="ds4-actor-properties__property-label"
            for="system.baseInfo.sizeCategory-{{data._id}}">{{config.i18n.creatureBaseInfo.sizeCategory}}</label>
        <select class="ds4-actor-properties__property-select" id="system.baseInfo.sizeCategory-{{data._id}}"
            name="system.baseInfo.sizeCategory" data-dtype="String">
            {{#select data.system.baseInfo.sizeCategory}}
            {{#each config.i18n.creatureSizeCategories as |value key|}}
            <option value="{{key}}">{{value}}</option>
            {{/each}}
            {{/select}}
        </select>
    </div>
    <div class="ds4-actor-properties__property">
        <label class="ds4-actor-properties__property-label"
            for="system.baseInfo.experiencePoints-{{data._id}}">{{config.i18n.creatureBaseInfo.experiencePoints}}</label>
        <input type="text" id="system.baseInfo.experiencePoints-{{data._id}}" name="system.baseInfo.experiencePoints"
            value="{{data.system.baseInfo.experiencePoints}}" data-dtype="Number" />
    </div>
</div>