Add charmes/tours management

This commit is contained in:
LeRatierBretonnien 2023-11-29 22:21:29 +01:00
parent 4b2dd20d49
commit 5aa117b569
2 changed files with 19 additions and 0 deletions

View File

@ -126,6 +126,8 @@
],
"pouvoir": {
"chemin": "force",
"attribut": "cla",
"competence": "",
"seuil": 0,
"coutpsyche": 0,
"complexite": 0,

View File

@ -21,6 +21,23 @@
</select>
</span>
<span class="flexrow">
<label class="generic-label">Attribut : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut1"
value="{{data.attribut1}}" data-dtype="string">
{{#select data.attribut1}}
{{#each attributs as |attrLabel attrKey|}}
<option value="{{attrKey}}">{{attrLabel}}</option>
{{/each}}
{{/select}}
</select>
</span>
<span class="flexrow">
<label class="generic-label">Compétence : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.competence" value="{{system.competence}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">Coût (Psyche) : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.coutpsyche" value="{{system.coutpsyche}}" data-dtype="Number" />