Fix costs

This commit is contained in:
LeRatierBretonnien 2023-07-18 22:07:55 +02:00
parent 2b32fa885d
commit fedf7e608e
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@
], ],
"title": "Ecryme, le Jeu de Rôles", "title": "Ecryme, le Jeu de Rôles",
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme", "url": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme",
"version": "11.0.4", "version": "11.0.5",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme/archive/fvtt-ecryme-v11.0.4.zip", "download": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme/archive/fvtt-ecryme-v11.0.5.zip",
"background": "systems/fvtt-ecryme/images/assets/ecryme_extract_panel_01.webp" "background": "systems/fvtt-ecryme/images/assets/ecryme_extract_panel_01.webp"
} }

View File

@ -7,7 +7,7 @@
<li class="flexrow"> <li class="flexrow">
<label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label> <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" /> <input type="text" class="item-field-label-short" name="system.cost" value="{{system.cost}}" data-dtype="Number" />
<select class="item-field-label-medium" type="text" name="system.costunit" value="{{system.costunit}}" data-dtype="Number"> <select class="item-field-label-medium" type="text" name="system.costunit" value="{{system.costunit}}" data-dtype="String">
{{#select system.costunit}} {{#select system.costunit}}
{{#each config.costUnits as |unit key| }} {{#each config.costUnits as |unit key| }}
<option value="{{key}}">{{localize unit.name}}</option> <option value="{{key}}">{{localize unit.name}}</option>