Passage en v12 + preparation module officiel BoL
This commit is contained in:
@@ -21,29 +21,17 @@
|
||||
|
||||
{{#if (eq item.system.properties.xptype "attribute")}}
|
||||
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
|
||||
{{#select item.system.properties.xpname}}
|
||||
{{#each config.attackAttributes as |value id|}}
|
||||
<option value="{{id}}">{{localize value}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.attackAttributes selected=item.system.properties.xpname localize=true}}
|
||||
</select>
|
||||
{{else}}
|
||||
{{#if (eq item.system.properties.xptype "aptitude")}}
|
||||
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
|
||||
{{#select item.system.properties.xpname}}
|
||||
{{#each config.aptitudes as |value id|}}
|
||||
<option value="{{id}}">{{localize value}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.aptitudes selected=item.system.properties.xpname localize=true} }
|
||||
</select>
|
||||
{{else}}
|
||||
{{#if (eq item.system.properties.xptype "career")}}
|
||||
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
|
||||
{{#select item.system.properties.xpname}}
|
||||
{{#each careers as |career id|}}
|
||||
<option value="{{id}}">{{career.name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions careers labelAttr="name" selected=item.system.properties.xpname localize=true}}
|
||||
</select>
|
||||
{{else}}
|
||||
<input type="text" name="system.properties.xpname" value="{{item.system.properties.xpname}}" data-dtype="String"/>
|
||||
|
||||
Reference in New Issue
Block a user