Update pour v11/v12 et correction d'un bug sur les defenses
This commit is contained in:
@@ -20,12 +20,8 @@
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Lame tutélaire</label>
|
||||
<select class="item-field-label-long" type="text" name="system.lametutelaire" value="{{system.lametutelaire}}" data-dtype="String">
|
||||
{{#select system.lametutelaire}}
|
||||
{{#each tarots as |carte key| }}
|
||||
<option value="{{carte._id}}">{{carte.name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
<select class="item-field-label-long" type="text" name="system.lametutelaire" data-dtype="String">
|
||||
{{selectOptions tarots selected=system.lametutelaire valueAttr="_id" labelAttr="name"}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
|
||||
@@ -22,11 +22,7 @@
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Type d'arme</label>
|
||||
<select class="item-field-label-long" type="text" name="system.armetype" value="{{system.armetype}}" data-dtype="String">
|
||||
{{#select system.armetype}}
|
||||
{{#each config.armeTypes as |type key| }}
|
||||
<option value="{{key}}">{{type}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.armeTypes selected=system.armetype}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
|
||||
@@ -26,11 +26,7 @@
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Type </label>
|
||||
<select class="item-field-label-long" type="text" name="system.tarottype" value="{{system.tarottype}}" data-dtype="String">
|
||||
{{#select system.tarottype}}
|
||||
{{#each config.tarotType as |type key| }}
|
||||
<option value="{{key}}">{{type}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.tarotType selected=system.tarottype}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user