Fix v11/v12

This commit is contained in:
LeRatierBretonnien 2024-05-02 09:29:42 +02:00
parent ec06f0fdcb
commit cd14db85cc
3 changed files with 7 additions and 7 deletions

View File

@ -72,7 +72,7 @@
],
"title": "Maléfices, le Jeu de Rôle",
"url": "https://www.uberwald.me/gitea/public/fvtt-malefices",
"version": "12.0.0",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v12.0.0.zip",
"version": "12.0.1",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v12.0.1.zip",
"background": "systems/fvtt-malefices/images/ui/malefice_welcome_page.webp"
}

View File

@ -36,14 +36,14 @@
<div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus biographique : </span>
<select id="bonusMalusPerso" name="bonusMalusPerso">
{{selectOptions config.bonusMalusPersoOptions selected=bonusMalusPerso valueAttr="value" labelAttr="label"}}
{{selectOptions config.bonusMalusPersoOptions selected=bonusMalusPerso nameAttr="value" labelAttr="label"}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus de situation : </span>
<select id="bonusMalusSituation" name="bonusMalusSituation">
{{selectOptions config.bonusMalusPersoOptions selected=bonusMalusSituation valueAttr="value" labelAttr="label"}}
{{selectOptions config.bonusMalusPersoOptions selected=bonusMalusSituation nameAttr="value" labelAttr="label"}}
</select>
</div>
@ -51,14 +51,14 @@
<div class="flexrow">
<span class="roll-dialog-label">Défense : </span>
<select id="bonusMalusDef" name="bonusMalusDef">
{{selectOptions config.bonusMalusDefOptions selected=bonusMalusDef valueAttr="value" labelAttr="label"}}
{{selectOptions config.bonusMalusDefOptions selected=bonusMalusDef nameAttr="value" labelAttr="label"}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Portée : </span>
<select id="bonusMalusPortee" name="bonusMalusPortee">
{{selectOptions config.bonusMalusPorteeOptions selected=bonusMalusPortee valueAttr="value" labelAttr="label"}}
{{selectOptions config.bonusMalusPorteeOptions selected=bonusMalusPortee nameAttr="value" labelAttr="label"}}
</select>
</div>
{{/if}}

View File

@ -21,7 +21,7 @@
<li class="flexrow">
<label class="item-field-label-long">Lame tutélaire</label>
<select class="item-field-label-long" type="text" name="system.lametutelaire" data-dtype="String">
{{selectOptions tarots selected=system.lametutelaire valueAttr="_id" labelAttr="name"}}
{{selectOptions tarots selected=system.lametutelaire nameAttr="_id" labelAttr="name"}}
</select>
</li>