Add v12 support
This commit is contained in:
@ -14,20 +14,14 @@
|
||||
<label class="generic-label">Niveau : </label>
|
||||
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number">
|
||||
{{#select system.niveau}}
|
||||
{{> systems/fvtt-wasteland/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
{{selectOptions config.listeNiveauSkill selected=system.niveau}}
|
||||
</select>
|
||||
</span>
|
||||
<span class="flexrow">
|
||||
<label class="generic-label">Attribut 1 : </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}}
|
||||
{{selectOptions attributs selected=data.attribut1}}
|
||||
</select>
|
||||
</span>
|
||||
<span class="flexrow">
|
||||
@ -35,11 +29,7 @@
|
||||
<select class="status-small-label color-class-common" type="text" name="system.attribut2"
|
||||
value="{{data.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select data.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions attributs selected=data.attribut2}}
|
||||
</select>
|
||||
</span>
|
||||
<span class="flexrow">
|
||||
@ -47,11 +37,7 @@
|
||||
<select class="status-small-label color-class-common" type="text" name="system.attribut3"
|
||||
value="{{data.attribut3}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select data.attribut3}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions attributs selected=data.attribut3}}
|
||||
</select>
|
||||
</span>
|
||||
|
||||
|
Reference in New Issue
Block a user