ds4/templates/sheets/actor/components/currency.hbs

17 lines
666 B
Handlebars
Raw Permalink Normal View History

2021-06-26 22:02:00 +02:00
{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
SPDX-FileCopyrightText: 2021 Siegfried Krug
SPDX-License-Identifier: MIT
--}}
2021-02-26 02:13:18 +01:00
<h4 class="ds4-currency-title">{{localize 'DS4.CharacterCurrency'}}</h4>
<div class="ds4-currency">
2022-11-21 03:00:46 +01:00
{{#each data.system.currency as |value key|}}
<label for="system.currency.{{key}}" class="flex05">{{lookup ../config.i18n.characterCurrency key}}</label>
<input class="ds4-currency__value ds4-currency__value--{{key}}" type="number" min="0" step="1"
2022-11-21 03:00:46 +01:00
name="system.currency.{{key}}" id="system.currency.{{key}}" value="{{value}}" data-dtype="Number" />
2021-02-26 02:13:18 +01:00
{{/each}}
</div>