{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher

SPDX-License-Identifier: MIT
--}}

<div class="ds4-item-properties ds4-item-properties--talent">
    <h4 class="ds4-item-properties__title">{{localize 'DS4.ItemPropertiesTalent'}}</h4>
    <div class="form-group slim">
        <label>{{localize "DS4.TalentRank"}}</label>
        <div class="form-fields">
            <label for="system.rank.base-{{data._id}}">{{localize "DS4.TalentRankBase"}}</label>
            <input id="system.rank.base-{{data._id}}" data-dtype="Number" type="number" min="0"
                max="{{data.system.rank.max}}" step="1" name="system.rank.base" value="{{data.system.rank.base}}" />
            <label for="system.rank.max-{{data._id}}">{{localize "DS4.TalentRankMax"}}</label>
            <input id="system.rank.max-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
                name="system.rank.max" value="{{data.system.rank.max}}" />
            <br />
            <label for="system.rank.mod-{{data._id}}">{{localize "DS4.TalentRankMod"}}</label>
            <input id="system.rank.mod-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
                name="system.rank.mod" value="{{data.system.rank.mod}}" />
            <label for="system.rank.total-{{data._id}}">{{localize "DS4.TalentRankTotal"}}</label>
            <span id="system.rank.total-{{data._id}}">{{data.system.rank.total}}</span>
        </div>
    </div>
</div>
