fvtt-ecryme/templates/items/partial-item-equipment.hbs

19 lines
758 B
Handlebars
Raw Normal View History

2023-04-28 15:25:57 +02:00
<li class="flexrow">
<label class="item-field-label-long">{{localize "ECRY.ui.weight"}}</label>
<input type="text" class="item-field-label-short" name="system.weight" value="{{system.weight}}"
data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label>
<input type="text" class="item-field-label-short" name="system.cost" value="{{system.cost}}" data-dtype="Number" />
2023-07-18 22:07:55 +02:00
<select class="item-field-label-medium" type="text" name="system.costunit" value="{{system.costunit}}" data-dtype="String">
2023-04-28 15:25:57 +02:00
{{#select system.costunit}}
{{#each config.costUnits as |unit key| }}
<option value="{{key}}">{{localize unit.name}}</option>
{{/each}}
{{/select}}
</select>
</li>